optimizing and babel
This commit is contained in:
parent
510f0fad7c
commit
3de1e88cc2
|
@ -20,13 +20,24 @@ exports.modules = {
|
|||
}
|
||||
|
||||
exports.plugins = {
|
||||
closurecompiler: {
|
||||
},
|
||||
/*
|
||||
uglify: {
|
||||
mangle: false,
|
||||
},
|
||||
*/
|
||||
postcss: {
|
||||
processors: [
|
||||
require('autoprefixer')(['last 8 versions']),
|
||||
require('csswring')()
|
||||
]
|
||||
},
|
||||
babel: {
|
||||
presets: [['env', {
|
||||
targets: {
|
||||
browsers: ['last 2 versions', 'safari >= 7']
|
||||
}
|
||||
}]]
|
||||
}
|
||||
};
|
||||
|
|
12
package.json
12
package.json
|
@ -1,16 +1,18 @@
|
|||
{
|
||||
"dependencies": {
|
||||
"@mapbox/shelf-pack": "^3.1.0",
|
||||
"autoprefixer": "^7.2.2",
|
||||
"csswring": "^6.0.2",
|
||||
"fabric": "^1.7.17",
|
||||
"fabric-customise-controls": "^0.3.6",
|
||||
"jquery": "^3.2.1",
|
||||
"postcss-brunch": "^2.1.0"
|
||||
"jquery": "^3.2.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"auto-reload-brunch": "^2",
|
||||
"autoprefixer": "^7.2.2",
|
||||
"babel-brunch": "^6.1.1",
|
||||
"babel-preset-env": "^1.6.1",
|
||||
"brunch": "^2",
|
||||
"uglify-js-brunch": "^2"
|
||||
"closure-compiler-brunch": "^0.1.6",
|
||||
"csswring": "^6.0.2",
|
||||
"postcss-brunch": "^2.1.0"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue