perf: build backend with swc (#9463)

* feat: build backend with swc

* fix: swc build target

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
This commit is contained in:
파링 2023-01-12 21:05:45 +09:00 committed by GitHub
parent 978a9bbb3b
commit 4579d02296
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 939 additions and 44 deletions

View file

@ -9,7 +9,17 @@
"transform": {
"legacyDecorator": true,
"decoratorMetadata": true
}
},
"experimental": {
"keepImportAssertions": true
},
"baseUrl": ".",
"paths": {
"@/*": [
"./src/*"
]
},
"target": "es2021"
},
"minify": false
}