add object.assign polyfill
This commit is contained in:
parent
6cbe26f917
commit
aef4d1cf38
3
.babelrc
3
.babelrc
|
@ -1,3 +1,4 @@
|
||||||
{
|
{
|
||||||
"presets" : ["es2015", "react"]
|
"presets" : ["es2015", "react"],
|
||||||
|
"plugins" : ["transform-object-assign"]
|
||||||
}
|
}
|
2054
npm-shrinkwrap.json
generated
2054
npm-shrinkwrap.json
generated
File diff suppressed because it is too large
Load diff
|
@ -6,6 +6,7 @@
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "echo \"Error: no test specified\" && exit 1",
|
"test": "echo \"Error: no test specified\" && exit 1",
|
||||||
"start": "webpack-dev-server --host 0.0.0.0",
|
"start": "webpack-dev-server --host 0.0.0.0",
|
||||||
|
"mobile": "webpack-dev-server --host 0.0.0.0 --public 192.168.1.8:8080",
|
||||||
"build": "webpack -p --config webpack.config.prod.js"
|
"build": "webpack -p --config webpack.config.prod.js"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
|
@ -22,6 +23,7 @@
|
||||||
"autoprefixer": "^6.3.7",
|
"autoprefixer": "^6.3.7",
|
||||||
"babel-core": "^6.24.0",
|
"babel-core": "^6.24.0",
|
||||||
"babel-loader": "^6.2.4",
|
"babel-loader": "^6.2.4",
|
||||||
|
"babel-plugin-transform-object-assign": "^6.22.0",
|
||||||
"babel-preset-es2015": "^6.9.0",
|
"babel-preset-es2015": "^6.9.0",
|
||||||
"babel-preset-react": "^6.11.1",
|
"babel-preset-react": "^6.11.1",
|
||||||
"css-loader": "^0.27.3",
|
"css-loader": "^0.27.3",
|
||||||
|
|
Loading…
Reference in a new issue