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

Generate sourcemaps but omit the comment #2743

syranide opened this Issue Mar 7, 2019 · 0 comments


None yet
1 participant
Copy link

syranide commented Mar 7, 2019

Feature Use Case

When deploying to production we want to have sourcemaps for debuggability, but we do not want to expose the source maps to the public.

Feature Proposal

So I would like to have a way of generating sourcemaps but not having the sourcemap comment be written to the output. I petitioned Webpack a long time ago and they introduced the hidden- prefix to their sourcemap modes. But maybe it makes more sense to have a separate property which controls whether the sourcemap comment is written or not.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.