I have implemented the following SWC configuration, but when I use nest.js SWC to compile them, the TSX files are not being compiled and no output is generated for them.
{
"$schema": "https://json.schemastore.org/swcrc",
"sourceMaps": true,
"module": {
"type": "commonjs"
},
"jsc": {
"target": "es2017",
"parser": {
"syntax": "typescript",
"tsx": true,
"decorators": true,
"dynamicImport": true,
},
"transform": {
"legacyDecorator": true,
"decoratorMetadata": true,
"react": {
"refresh": true
}
},
"keepClassNames": true,
"baseUrl": "./"
},
"minify": false
}
Need assistance in identifying the issue. Any suggestions?