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

Source Maps + Minification #340

Open
bdkjones opened this issue Oct 6, 2015 · 0 comments
Open

Source Maps + Minification #340

bdkjones opened this issue Oct 6, 2015 · 0 comments

Comments

@bdkjones
Copy link

bdkjones commented Oct 6, 2015

I was very surprised to see a compiling error when I attempted to compile JSX with both the minify and enable-source-map option. All good JavaScript minifiers accept "input" source maps, which are then modified appropriately to reflect the minification.

Does the JS minifier that JSX uses not support that? If so, please consider switching to Uglify.js 2 as the minifier. It's far and away better than anything else out there, including Closure. It will happily accept an input source map, which will remove the limitation that sparked this issue.

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

1 participant