Update gruntfile options
This commit is contained in:
parent
9ff7d3aea8
commit
9d0636410d
|
@ -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: [{
|
||||||
|
|
Loading…
Reference in New Issue