-
Notifications
You must be signed in to change notification settings - Fork 0
/
.babelrc
executable file
·53 lines (53 loc) · 2.18 KB
/
.babelrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
{
"plugins": [
"transform-class-properties",
"babel-plugin-add-module-exports",
"babel-plugin-syntax-dynamic-import",
"babel-plugin-transform-class-properties",
"babel-plugin-syntax-trailing-function-commas",
"babel-plugin-transform-async-to-generator-2",
"babel-plugin-transform-exponentiation-operator",
["babel-plugin-transform-object-rest-spread", {
"useBuiltIns": true
}],
"babel-plugin-transform-async-generator-functions",
["babel-plugin-transform-react-jsx", {
"useBuiltIns": true
}],
"babel-plugin-transform-flow-strip-types",
"babel-plugin-syntax-flow",
"babel-plugin-syntax-jsx",
"babel-plugin-transform-decorators-legacy",
"babel-plugin-transform-react-display-name",
"babel-plugin-transform-es2015-template-literals",
"babel-plugin-transform-es2015-literals",
"babel-plugin-transform-es2015-function-name",
"babel-plugin-transform-es2015-arrow-functions",
"babel-plugin-transform-es2015-block-scoped-functions",
"babel-plugin-transform-es2015-classes",
"babel-plugin-transform-es2015-object-super",
"babel-plugin-transform-es2015-shorthand-properties",
"babel-plugin-transform-es2015-duplicate-keys",
"babel-plugin-transform-es2015-computed-properties",
"babel-plugin-transform-es2015-for-of",
"babel-plugin-transform-es2015-sticky-regex",
"babel-plugin-transform-es2015-unicode-regex",
"babel-plugin-check-es2015-constants",
"babel-plugin-transform-es2015-spread",
"babel-plugin-transform-es2015-parameters",
"babel-plugin-transform-es2015-destructuring",
"babel-plugin-transform-es2015-block-scoping",
"babel-plugin-transform-es2015-typeof-symbol",
"babel-plugin-transform-es2015-modules-commonjs",
["import", { "libraryName": "antd", "style": true }]
],
"env": {
"development": {
"plugins": [
"babel-plugin-transform-react-jsx-self"
],
"presets": ["react-hmre"]
}
},
"presets": ["es2015", "react", "stage-0"]
}