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

Please kindly remove the source maps when publishing to the NPM registry #443

Open
tmcdos opened this issue May 13, 2021 · 1 comment
Open

Comments

@tmcdos
Copy link

tmcdos commented May 13, 2021

First of all - thank you for your hard work, guys! Really appreciated!

Is your feature request related to a problem? Please describe.
Every time when I do npm install it downloads 17Mb from the NPM registry for @zxing/library - because it contains source map for every single JavaScript file there. Without those MAP files the archive becomes 9Mb.

Describe the solution you'd like
Would you be so kind and remove the MAP files from the distributed package? When I include the library in my project - Webpack will generate new source maps (if I need them at all).

Describe alternatives you've considered
I can write a shell script which will find and delete all MAP files after npm install - but it feels a workaround rather than a clean solution.

Copy link

Stale issue message

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

No branches or pull requests

1 participant