-
Notifications
You must be signed in to change notification settings - Fork 95
/
.babelrc
30 lines (30 loc) · 747 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
{
"presets": [
"@babel/preset-typescript",
[
"@babel/preset-env",
{
"targets": {
"chrome": 100
}
}
],
"@babel/preset-react"
],
"plugins": [
"@babel/plugin-syntax-bigint",
["@babel/plugin-proposal-class-properties", { "loose": false }],
"@babel/plugin-proposal-do-expressions",
"@babel/plugin-proposal-logical-assignment-operators",
"@babel/plugin-proposal-nullish-coalescing-operator",
"@babel/plugin-proposal-object-rest-spread",
"@babel/plugin-proposal-optional-chaining",
"@babel/plugin-transform-object-assign",
"@babel/plugin-transform-runtime"
],
"env": {
"test": {
"plugins": ["@babel/plugin-transform-runtime"]
}
}
}