mirror of
https://github.com/smogon/pokemon-showdown-client.git
synced 2026-04-25 16:14:01 -05:00
You can't actually log in through the Preact client anyway, but now if you set the right config file, you can _be_ logged in.
35 lines
1.2 KiB
Plaintext
35 lines
1.2 KiB
Plaintext
{
|
|
"plugins": [
|
|
["@babel/plugin-transform-typescript", {"isTSX": true}],
|
|
["@babel/plugin-transform-react-jsx", {"pragma": "preact.h", "useBuiltIns": true}],
|
|
|
|
["@babel/plugin-proposal-class-properties", {"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
|
|
}
|