Skip to content

Commit 74515aa

Browse files
author
fe_wangcong
committed
change the babel config to babel-preset-fe
1 parent 3161823 commit 74515aa

2 files changed

Lines changed: 2 additions & 20 deletions

File tree

.babelrc

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,5 @@
11
{
22
"presets": [
3-
"es2015",
4-
"es2015-webpack2",
5-
"stage-0",
6-
"react"
7-
],
8-
"plugins": [
9-
"transform-decorators-legacy",
10-
"transform-async-to-generator",
11-
"syntax-async-functions"
3+
"fe"
124
]
135
}

package.json

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -35,17 +35,7 @@
3535
"babel-core": "^6.8.0",
3636
"babel-eslint": "^6.0.4",
3737
"babel-loader": "^6.2.4",
38-
"babel-plugin-react-transform": "^2.0.2",
39-
"babel-plugin-syntax-async-functions": "^6.8.0",
40-
"babel-plugin-transform-async-to-generator": "^6.8.0",
41-
"babel-plugin-transform-decorators-legacy": "^1.3.4",
42-
"babel-preset-es2015": "^6.6.0",
43-
"babel-preset-es2015-node5": "^1.2.0",
44-
"babel-preset-es2015-webpack2": "^1.0.0",
45-
"babel-preset-node5": "^11.1.0",
46-
"babel-preset-react": "^6.5.0",
47-
"babel-preset-react-hmre": "^1.1.1",
48-
"babel-preset-stage-0": "^6.5.0",
38+
"babel-preset-fe": "^1.0.13",
4939
"css-loader": "^0.23.1",
5040
"enzyme": "^2.3.0",
5141
"es6-promise": "^3.2.1",

0 commit comments

Comments
 (0)