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

handle minification failure gracefully

Open thefourtheye opened this issue 6 years ago • 1 comments

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 next file without making any changes to the contents of the file in the destination. Also, this introduces a new configuration option skipErrors, so that the users can specify that in the task level options to override the default behaviour.

thefourtheye avatar Mar 21 '18 19:03 thefourtheye

CLA assistant check
All committers have signed the CLA.

jsf-clabot avatar Mar 21 '18 19:03 jsf-clabot