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.
uglify: {
options: {
// Preserve comments that start with a bang.
preserveComments: /^!/
ie8: true,
parse: {
strict: false
},
output: {
comments : /@license|@preserve|^!/
}
},
admin: {
files: [{