-
Notifications
You must be signed in to change notification settings - Fork 0
/
.babelrc
30 lines (30 loc) · 817 Bytes
/
.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
{
"plugins": [
"@babel/plugin-syntax-dynamic-import",
"@babel/plugin-transform-modules-commonjs",
"@babel/plugin-transform-object-assign",
"@babel/plugin-proposal-optional-chaining",
"@babel/plugin-proposal-class-properties",
"@babel/plugin-transform-react-constant-elements",
["module:fast-async", { "spec": true }],
["@babel/plugin-transform-react-jsx", {
"pragma": "h",
"pragmaFrag": "Fragment"
}]
],
"presets": [
["@babel/preset-env", {
"targets": {
"node": "current",
"esmodules": true,
"browsers": "last 2 version, > 1%, not dead"
},
"exclude": ["@babel/plugin-proposal-async-generator-functions"]
}]
],
"env": {
"production": {
"plugins": ["transform-react-remove-prop-types"]
}
}
}