use swc for jest
This commit is contained in:
parent
2e0075e79c
commit
8e6f1508ed
4 changed files with 540 additions and 438 deletions
15
packages/backend/.swcrc
Normal file
15
packages/backend/.swcrc
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
"$schema": "https://json.schemastore.org/swcrc",
|
||||
"jsc": {
|
||||
"parser": {
|
||||
"syntax": "typescript",
|
||||
"dynamicImport": true,
|
||||
"decorators": true
|
||||
},
|
||||
"transform": {
|
||||
"legacyDecorator": true,
|
||||
"decoratorMetadata": true
|
||||
}
|
||||
},
|
||||
"minify": false
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue