mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-25 01:13:25 +01:00
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
e88edf8b7c
commit
f62df49baa
@ -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