source-map-unpack
source-map-unpack copied to clipboard
Allow to process all files in a directory
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 a directory and unpack all of them? Our build outputs a bunch of bundles and chunks.
Thank you!
Also, it complains if the target directory already exists, so I have to give it different output directories even though it is unpacking the same source.
Do I understand correctly that the structure can be as the following?
/folder-with-maps
chunk1.js
chunk1.map
chunk2.js
chunk2.map
chunk3.js
chunk3.map
and we'd want to do the following
unpack folder-with-unpacked-maps folder-with-maps
Could you provide an example map of the format to experiment with?