Move to babel 7
This commit is contained in:
parent
133badfa3d
commit
2a5868d923
2 changed files with 7 additions and 6 deletions
4
.babelrc
4
.babelrc
|
|
@ -1,4 +1,4 @@
|
||||||
{
|
{
|
||||||
"presets": ["env"],
|
"presets": ["@babel/env",
|
||||||
"plugins": ["transform-react-jsx"]
|
"@babel/preset-react"]
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -10,11 +10,11 @@
|
||||||
"build": "webpack"
|
"build": "webpack"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"babel-core": "^6.25.0",
|
"@babel/core": "^7.0.0",
|
||||||
|
"@babel/preset-env": "^7.0.0",
|
||||||
|
"@babel/preset-react": "^7.0.0",
|
||||||
"babel-eslint": "^9.0.0",
|
"babel-eslint": "^9.0.0",
|
||||||
"babel-loader": "^7.0.0",
|
"babel-loader": "^8.0.0",
|
||||||
"babel-plugin-transform-react-jsx": "^6.24.1",
|
|
||||||
"babel-preset-env": "^1.5.2",
|
|
||||||
"chrome-remote-interface": "^0.25.5",
|
"chrome-remote-interface": "^0.25.5",
|
||||||
"compression-webpack-plugin": "~1.0.0",
|
"compression-webpack-plugin": "~1.0.0",
|
||||||
"copy-webpack-plugin": "~3.0.1",
|
"copy-webpack-plugin": "~3.0.1",
|
||||||
|
|
@ -39,6 +39,7 @@
|
||||||
"webpack": "^2.6.1"
|
"webpack": "^2.6.1"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
"@babel/polyfill": "^7.0.0",
|
||||||
"node-sass": "^4.9.0",
|
"node-sass": "^4.9.0",
|
||||||
"react-lite": "0.15.30"
|
"react-lite": "0.15.30"
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue