-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.babelrc
31 lines (31 loc) · 824 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
31
{
"presets": [
[
"@babel/preset-env",
{
"targets": {
"browsers": "last 2 versions, not ie 11",
"node": "20"
},
"exclude": [
"@babel/plugin-proposal-optional-chaining",
"transform-destructuring",
"transform-typeof-symbol",
"transform-parameters",
"transform-for-of",
"transform-regenerator",
"transform-object-rest-spread"
]
}
]
],
"plugins": [
[
"@babel/plugin-transform-runtime",
{
"helpers": true,
"regenerator": false
}
]
]
}