Open invicticide opened 6 years ago
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.
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.