Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow to process all files in a directory #17

Open
aruku opened this issue Mar 30, 2021 · 2 comments
Open

Allow to process all files in a directory #17

aruku opened this issue Mar 30, 2021 · 2 comments

Comments

@aruku
Copy link

aruku commented Mar 30, 2021

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!

@aruku
Copy link
Author

aruku commented Mar 30, 2021

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.

@pavloko
Copy link
Owner

pavloko commented May 30, 2022

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants