grunt-contrib-uglify icon indicating copy to clipboard operation
grunt-contrib-uglify copied to clipboard

Minify files with UglifyJS.

Results 32 grunt-contrib-uglify issues
Sort by recently updated
recently updated
newest added

If I try to use `fetch` like so: `let response = await fetch('https://domain.tld');` Uglify throws this error: ``` Unexpected token: name «fetch», expected: punc «;». ``` This old issue (#499)...

Hi, I originally came because I had an issue with some uglified output in safari (for backstory its something similar to https://github.com/mishoo/UglifyJS2/issues/1753 but not directly related), but am now confused...

Fixes: https://github.com/gruntjs/grunt-contrib-uglify/issues/409 Whenever the minification of a file fails, the task fails with the error 'min' is not available in 'undefined'. This patch allows the task to continue to the...

I am using useMin to concat and uglify my files. Everything seems to be working, the files are being concated, uglifyed and source maps are generated. The problem is -...

I use grunt with my .net core when uglify js files ,I take this error **Uncaught TypeError: Cannot set property 'unobtrusive' of undefined** ``` uglify: { js: { src: [...

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...

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...

Because the old project uses jsp, JSP contains a lot of large JS code, instead of introducing JS file. How to use Uglify JS to confuse a large number of...

When uglifying with the grunt plugin, using option `output.comments: 'some'` or `output.comments: /^!/`, only comments from the first file(s) are being preserved. This problem doesn't happen when using uglify-js package....