Update webpack to v3
This commit is contained in:
parent
e12152f7a8
commit
b87476abc9
15 changed files with 3030 additions and 6269 deletions
35
.babelrc
35
.babelrc
|
@ -1,30 +1,11 @@
|
|||
{
|
||||
"ignore": [
|
||||
"build-server.js",
|
||||
"build-client.js",
|
||||
"presets": [
|
||||
["@babel/preset-env", {
|
||||
"targets": {
|
||||
"node": "9.11.1"
|
||||
},
|
||||
"modules": "commonjs"
|
||||
}]
|
||||
],
|
||||
"plugins": [
|
||||
"syntax-object-rest-spread",
|
||||
"transform-object-rest-spread",
|
||||
"transform-es2015-arrow-functions",
|
||||
"transform-es2015-block-scoped-functions",
|
||||
"transform-es2015-block-scoping",
|
||||
"transform-es2015-classes",
|
||||
"transform-es2015-computed-properties",
|
||||
"transform-es2015-constants",
|
||||
"transform-es2015-destructuring",
|
||||
"transform-es2015-for-of",
|
||||
"transform-es2015-function-name",
|
||||
"transform-es2015-literals",
|
||||
"transform-es2015-modules-commonjs",
|
||||
"transform-es2015-object-super",
|
||||
"transform-es2015-parameters",
|
||||
"transform-es2015-shorthand-properties",
|
||||
"transform-es2015-spread",
|
||||
"transform-es2015-sticky-regex",
|
||||
"transform-es2015-template-literals",
|
||||
"transform-es2015-typeof-symbol",
|
||||
"transform-es2015-unicode-regex",
|
||||
"transform-object-rest-spread",
|
||||
]
|
||||
"plugins": ["@babel/plugin-proposal-object-rest-spread"]
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue