forked from smogon/pokemon-showdown-client
-
Notifications
You must be signed in to change notification settings - Fork 14
/
.babelrc
35 lines (30 loc) · 1.33 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
{
"plugins": [
["@babel/plugin-transform-typescript", {"isTSX": true}],
["@babel/plugin-transform-react-jsx", {"pragma": "preact.h", "pragmaFrag": "preact.Fragment", "useBuiltIns": true}],
["@babel/plugin-proposal-class-properties", {"loose": true}],
["@babel/plugin-proposal-optional-chaining", {"loose": true}],
["@babel/plugin-proposal-object-rest-spread", {"loose": true, "useBuiltIns": true}],
"@babel/plugin-proposal-optional-catch-binding",
"@babel/plugin-transform-exponentiation-operator",
"@babel/plugin-transform-arrow-functions",
["@babel/plugin-transform-block-scoping", {"throwIfClosureRequired": true}],
["@babel/plugin-transform-classes", {"loose": true}],
["@babel/plugin-transform-computed-properties", {"loose": true}],
["@babel/plugin-transform-destructuring", {"loose": true, "useBuiltIns": true}],
["@babel/plugin-transform-for-of", {"assumeArray": true}],
"@babel/plugin-transform-literals",
"@babel/plugin-transform-parameters",
"@babel/plugin-transform-shorthand-properties",
["@babel/plugin-transform-spread", {"loose": true}],
["@babel/plugin-transform-template-literals", {"loose": true}],
"@babel/plugin-transform-member-expression-literals",
"@babel/plugin-transform-property-literals"
],
"ignore": [
"src/globals.d.ts"
],
"compact": true,
"comments": false,
"retainLines": true
}