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

Pipe source maps through to UglifyJS #68

Open
invicticide opened this issue Dec 31, 2017 · 0 comments
Open

Pipe source maps through to UglifyJS #68

invicticide opened this issue Dec 31, 2017 · 0 comments

Comments

@invicticide
Copy link
Owner

Minified output that throws an error is annoying to debug because the call stack indicates source locations that are basically nonsense.

UglifyJS (used by html-minifier for the JS portion of minification) supports source maps: https://github.com/mishoo/UglifyJS2#cli-source-map-options

They're just not piped through right now.

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