bitque/react-client/.swcrc

37 lines
808 B
Plaintext

[
{
"test": ".*.tsx?$",
"jsc": {
"parser": {
"syntax": "typescript",
"tsx": true,
"decorators": true,
"dynamicImport": true
}
}
},
{
"test": ".jsx?$",
"jsc": {
"target": "es2018",
"parser": {
"syntax": "ecmascript",
"jsx": true,
"dynamicImport": true,
"numericSeparator": true,
"classPrivateProperty": true,
"privateMethod": true,
"classProperty": true,
"functionBind": true,
"exportDefaultFrom": true,
"exportNamespaceFrom": true,
"decorators": true,
"decoratorsBeforeExport": true,
"nullishCoalescing": true,
"topLevelAwait": true,
"importMeta": true,
"optionalChaining": true
}
}
}
]