Skip to content

Commit

Permalink
Update to UglifyJS3
Browse files Browse the repository at this point in the history
  • Loading branch information
GMartigny committed May 23, 2017
1 parent 98b2867 commit 8afa466
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,14 +77,13 @@ module.exports = function (grunt) {
},
prod: {
options: {
preserveComments: false,
wrap: "G",
compress: {
global_defs: {
IS_DEV: false,
VERSION: VERSION
}
},
enclose: {}
}
},
files: {
"dist/js/script.js": [sourceDir.js]
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"devDependencies": {
"grunt": "^1.0.1",
"grunt-contrib-less": "^1.4.0",
"grunt-contrib-uglify": "^2.0.0",
"grunt-contrib-uglify": "^3.0.1",
"grunt-contrib-watch": "^1.0.0",
"grunt-jscs": "^3.0.1",
"grunt-lesslint": "^4.0.0",
Expand Down

0 comments on commit 8afa466

Please sign in to comment.