-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbabel.config.json
39 lines (39 loc) · 1.07 KB
/
babel.config.json
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
{
"presets": [
[
"@babel/preset-env",
{
"useBuiltIns": "entry",
"corejs": 3,
"bugfixes": true,
"modules": false
}
],
[
"@babel/preset-react",
{
"useBuiltIns": true,
"development": false
}
]
],
"plugins": [
["@babel/plugin-proposal-object-rest-spread", { "useBuiltIns": true }],
["@babel/plugin-proposal-optional-chaining"],
["@babel/plugin-proposal-nullish-coalescing-operator"],
[
"@babel/plugin-transform-runtime",
{
"corejs": 3,
"helpers": true,
"regenerator": false,
"useESModules": true,
"version": "7.12.5"
}
],
["@babel/plugin-syntax-dynamic-import"],
["babel-plugin-lodash"],
["@babel/plugin-transform-react-inline-elements"],
["@babel/plugin-transform-react-constant-elements"]
]
}