Work around uglify preserveComments some issue

Root cause: https://github.com/gruntjs/grunt-contrib-uglify/issues/366

Fixes #1129
This commit is contained in:
kpdecker
2015-11-19 22:54:10 -06:00
parent c21118d04b
commit 251ec3b128
+1 -1
View File
@@ -125,7 +125,7 @@ module.exports = function(grunt) {
options: {
mangle: true,
compress: true,
preserveComments: 'some'
preserveComments: /(?:^!|@(?:license|preserve|cc_on))/
},
dist: {
files: [{