Skip to content

Pipe source maps through to UglifyJS #68

@invicticide

Description

@invicticide

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.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions