forked from extern/egroupware
Update uglifyjs to support ES6 syntax. @Devs: Make sure to install grunt-contrib-uglify-es (npm install grunt-contrib-uglify-es --save-dev) before running grunt.
This commit is contained in:
parent
9834da71d0
commit
dd4f998b36
@ -17,7 +17,7 @@
|
||||
* To generate the now existing package.json:
|
||||
* npm init
|
||||
* npm install grunt --save-dev
|
||||
* npm install grunt-contrib-uglify --save-dev
|
||||
* npm install grunt-contrib-uglify-es --save-dev
|
||||
* npm install grunt-newer --save-dev
|
||||
* npm install grunt-contrib-cssmin --save-dev
|
||||
* npm install grunt-hub --save-dev
|
||||
@ -426,7 +426,7 @@ module.exports = function (grunt) {
|
||||
}
|
||||
});
|
||||
// Load the plugin that provides the "uglify" task.
|
||||
grunt.loadNpmTasks('grunt-contrib-uglify');
|
||||
grunt.loadNpmTasks('grunt-contrib-uglify-es');
|
||||
|
||||
// Load plugin for css minificaton
|
||||
grunt.loadNpmTasks('grunt-contrib-cssmin');
|
||||
|
@ -6,10 +6,11 @@
|
||||
"dependencies": {},
|
||||
"repository": {},
|
||||
"devDependencies": {
|
||||
"grunt": "^1.0.1",
|
||||
"grunt": "^1.0.3",
|
||||
"grunt-contrib-cssmin": "^2.2.1",
|
||||
"grunt-contrib-uglify": "^3.1.0",
|
||||
"grunt-contrib-uglify-es": "^3.3.0",
|
||||
"grunt-hub": "^0.7.0",
|
||||
"grunt-newer": "^1.2.0"
|
||||
"grunt-newer": "^1.3.0"
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user