tweak misskey-js config

This commit is contained in:
syuilo
2023-03-30 13:46:25 +09:00
parent ffbe896f28
commit ea6f9f1e7d
4 changed files with 82 additions and 286 deletions

View File

@@ -0,0 +1,23 @@
{
"$schema": "https://json.schemastore.org/swcrc",
"jsc": {
"parser": {
"syntax": "typescript",
"dynamicImport": true,
"decorators": true
},
"transform": {
"legacyDecorator": true,
"decoratorMetadata": true
},
"experimental": {
"keepImportAssertions": true
},
"baseUrl": "src",
"paths": {
"@/*": ["*"]
},
"target": "es2022"
},
"minify": false
}