app/apps/backend/.swrc
Mathis b028fa653a
Add SWC configuration file for TypeScript support
This commit introduces a .swrc file to define SWC configuration. It specifies the use of TypeScript syntax and targets ES2021, along with support for decorator metadata and legacy decorators. Additionally, the module type is set to CommonJS and source maps are enabled.
2024-10-17 16:46:15 +02:00

16 lines
246 B
Plaintext

{
"jsc": {
"parser": {
"syntax": "typescript"
},
"target": "es2021",
"transform": {
"decoratorMetadata": true,
"legacyDecorator": true
}
},
"module": {
"type": "commonjs"
},
"sourceMaps": true
}