gruntjs / grunt-contrib-uglify

Minify files with UglifyJS.
http://gruntjs.com/
MIT License
1.48k stars 347 forks source link

SourceMap Inline Bug #545

Open constip opened 5 years ago

constip commented 5 years ago

When I set sourceMap to { url: 'inline' }, the sourcemap gets appended to the script. This works correctly. Sadly, grunt-contrib-uglify seems not to mind this and writes the sourcemap to disk regardless. This seems to be incorrect behavior as I do not need to maps (one of which isn't even referenced).