source-map-unpack
source-map-unpack copied to clipboard
Unpack 🛍 your JS source maps 🗺 to original files and folders.
### Comparison #### 0f7f007 (master) ```console $ rm -rf dist/ ``` ```console $ time yarn build yarn run v1.22.10 […] real 0m1.201s user 0m1.737s sys 0m0.159s ``` ```console $ time...
First, let me thank you for this tool, it is awesome and it is helping us! Could it be possible to have it go over all the *.map files in...
This is a fix for #22. Now the project directory gets created if it doesn't exist yet.
The 'WEBPACK_ORIGIN_OFFSET' field wasn't working for me, so I changed it to just remove all '../' paths when unpacking.
When running this tool under Node 18, the following error is thrown: ``` Error: You must provide the URL of lib/mappings.wasm by calling SourceMapConsumer.initialize({ 'lib/mappings.wasm': ... }) before using SourceMapConsumer...
I'm getting the same error as here, I've tried the solutions but they didn't work for me and I'm recreating it because the issue is closed. [#22](https://github.com/pavloko/source-map-unpack/issues/22#issue-861508924) Error: ```sh >unpack...
Since this package is using source-map 0.7.3, it is suffering from https://github.com/mozilla/source-map/issues/349. ``` $ unpack panel-js panel.js.map /opt/homebrew/lib/node_modules/source-map-unpack/node_modules/source-map/lib/read-wasm.js:8 throw new Error("You must provide the URL of lib/mappings.wasm by calling "...
I don't think this recommendation is necessary. Maybe it was different in older source map versions, but I think these days all of the necessary information is present in the...
When I unpacked a `.js.map` file I get these folders: ```shell asics omposites ``` However, they should be "basics" and "composites". https://github.com/pavloko/source-map-unpack/blob/73f626aa992dec2b7c54e1bad5ed6903f8752659/src/index.ts#L54-L58 ```javascript 'webpack://'.length => 10 ``` So the quick...
Hi I want to unpack a sourcemap file and I get this error 