Files
Tom MoorandGitHub ec3200c7d2 chore: babel -> swc (#12821)
* chore: babel -> swc

* Add ls guard

* PR feedback
2026-06-29 17:11:02 -04:00

36 lines
708 B
Plaintext

{
"$schema": "https://swc.rs/schema.json",
"jsc": {
"parser": {
"syntax": "typescript",
"tsx": true,
"decorators": true
},
"transform": {
"legacyDecorator": true,
"useDefineForClassFields": false,
"react": {
"runtime": "automatic"
},
"optimizer": {
"globals": {
"envs": ["SOURCE_COMMIT", "SOURCE_VERSION"]
}
}
},
"target": "es2020",
"keepClassNames": true,
"baseUrl": ".",
"paths": {
"@server/*": ["server/*"],
"@shared/*": ["shared/*"],
"~/*": ["app/*"],
"plugins/*": ["plugins/*"]
}
},
"module": {
"type": "commonjs"
},
"sourceMaps": false
}