Merge branch 'compiler-change' of https://github.com/thearcanebrony/fosscord-server into pr/TheArcaneBrony/418-1
This commit is contained in:
commit
29516da90f
@ -1,13 +1,16 @@
|
|||||||
{
|
{
|
||||||
|
"module": {
|
||||||
|
"type": "commonjs"
|
||||||
|
},
|
||||||
"jsc": {
|
"jsc": {
|
||||||
"parser": {
|
"parser": {
|
||||||
"syntax": "typescript",
|
"syntax": "typescript",
|
||||||
"decorators": true
|
"decorators": true
|
||||||
},
|
},
|
||||||
"target": "es2021",
|
"target": "es2021",
|
||||||
"baseUrl": ".",
|
"baseUrl": "./",
|
||||||
"paths": {
|
"paths": {
|
||||||
"@fosscord/api": ["src/index"],
|
"@fosscord/api": ["src/index.ts"],
|
||||||
"@fosscord/api/*": ["src/*"]
|
"@fosscord/api/*": ["src/*"]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,22 +1,12 @@
|
|||||||
{
|
{
|
||||||
|
"module": {
|
||||||
|
"type": "commonjs"
|
||||||
|
},
|
||||||
"jsc": {
|
"jsc": {
|
||||||
"parser": {
|
"parser": {
|
||||||
"syntax": "ecmascript",
|
"syntax": "typescript",
|
||||||
"jsx": false,
|
"decorators": true
|
||||||
"dynamicImport": false,
|
|
||||||
"privateMethod": false,
|
|
||||||
"functionBind": false,
|
|
||||||
"exportDefaultFrom": false,
|
|
||||||
"exportNamespaceFrom": false,
|
|
||||||
"decorators": false,
|
|
||||||
"decoratorsBeforeExport": false,
|
|
||||||
"topLevelAwait": false,
|
|
||||||
"importMeta": false
|
|
||||||
},
|
},
|
||||||
"transform": null,
|
"target": "es2021"
|
||||||
"target": "es2021",
|
|
||||||
"loose": false,
|
|
||||||
"externalHelpers": false,
|
|
||||||
"keepClassNames": false
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,7 @@
|
|||||||
{
|
{
|
||||||
|
"module": {
|
||||||
|
"type": "commonjs"
|
||||||
|
},
|
||||||
"jsc": {
|
"jsc": {
|
||||||
"parser": {
|
"parser": {
|
||||||
"syntax": "typescript",
|
"syntax": "typescript",
|
||||||
|
@ -1,4 +1,7 @@
|
|||||||
{
|
{
|
||||||
|
"module": {
|
||||||
|
"type": "commonjs"
|
||||||
|
},
|
||||||
"jsc": {
|
"jsc": {
|
||||||
"parser": {
|
"parser": {
|
||||||
"syntax": "typescript",
|
"syntax": "typescript",
|
||||||
|
@ -1,9 +0,0 @@
|
|||||||
{
|
|
||||||
"jsc": {
|
|
||||||
"parser": {
|
|
||||||
"syntax": "typescript",
|
|
||||||
"decorators": true
|
|
||||||
},
|
|
||||||
"target": "es2021"
|
|
||||||
}
|
|
||||||
}
|
|
11
util/.swcrc
11
util/.swcrc
@ -1,9 +1,18 @@
|
|||||||
{
|
{
|
||||||
|
"module": {
|
||||||
|
"type": "commonjs"
|
||||||
|
},
|
||||||
"jsc": {
|
"jsc": {
|
||||||
"parser": {
|
"parser": {
|
||||||
"syntax": "typescript",
|
"syntax": "typescript",
|
||||||
"decorators": true
|
"decorators": true
|
||||||
},
|
},
|
||||||
"target": "es2021"
|
"target": "es2021",
|
||||||
|
"transform": {
|
||||||
|
"legacyDecorator": true,
|
||||||
|
"decoratorMetadata": true
|
||||||
|
},
|
||||||
|
"keepClassNames": true,
|
||||||
|
"loose": true
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -1,4 +1,7 @@
|
|||||||
{
|
{
|
||||||
|
"module": {
|
||||||
|
"type": "commonjs"
|
||||||
|
},
|
||||||
"jsc": {
|
"jsc": {
|
||||||
"parser": {
|
"parser": {
|
||||||
"syntax": "typescript",
|
"syntax": "typescript",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user