Update gruntfile options

This commit is contained in:
Mike Jolley 2017-06-19 12:49:27 +01:00
parent 9ff7d3aea8
commit 9d0636410d
1 changed files with 7 additions and 2 deletions

View File

@ -42,8 +42,13 @@ module.exports = function( grunt ) {
// Minify .js files. // Minify .js files.
uglify: { uglify: {
options: { options: {
// Preserve comments that start with a bang. ie8: true,
preserveComments: /^!/ parse: {
strict: false
},
output: {
comments : /@license|@preserve|^!/
}
}, },
admin: { admin: {
files: [{ files: [{