gruntjs / grunt-contrib-uglify

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

sourceMap.content: inline is not supported #548

Open squarebracket opened 4 years ago

squarebracket commented 4 years ago

Using the standard uglify API, you can provide sourceMap.content: 'inline', and it will use the inlined source map as the input source map. I tried providing this, but it does not work. Of course, using sourceMapIn: 'inline' does not work, as it simply tries to read the file named inline.

Since you're not using the standard minify API, which is where the processing happens, is this possible without having to parse and strip out the content?