1
0
Fork 0

optimizing and babel

This commit is contained in:
Alexander Yakovlev 2017-12-10 23:13:28 +07:00
parent 510f0fad7c
commit 3de1e88cc2
3 changed files with 722 additions and 97 deletions

View file

@ -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']
}
}]]
}
};

View file

@ -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"
}
}

796
yarn.lock

File diff suppressed because it is too large Load diff