mirror of
https://github.com/discordeno/discordeno.git
synced 2026-09-17 08:47:22 +00:00
fix: esnodenext for swc
This commit is contained in:
@@ -9,12 +9,12 @@
|
|||||||
"legacyDecorator": true,
|
"legacyDecorator": true,
|
||||||
"decoratorMetadata": true
|
"decoratorMetadata": true
|
||||||
},
|
},
|
||||||
"target": "ESNext",
|
"target": "es2022",
|
||||||
"keepClassNames": true,
|
"keepClassNames": true,
|
||||||
"loose": true
|
"loose": true
|
||||||
},
|
},
|
||||||
"module": {
|
"module": {
|
||||||
"type": "es6",
|
"type": "nodenext",
|
||||||
"strict": false,
|
"strict": false,
|
||||||
"strictMode": true,
|
"strictMode": true,
|
||||||
"lazy": false,
|
"lazy": false,
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"target": "ESNext",
|
"target": "es2022",
|
||||||
"module": "es2022",
|
"module": "es2022",
|
||||||
"experimentalDecorators": true,
|
"experimentalDecorators": true,
|
||||||
"emitDecoratorMetadata": true,
|
"emitDecoratorMetadata": true,
|
||||||
|
|||||||
+21
-21
@@ -1,24 +1,24 @@
|
|||||||
{
|
{
|
||||||
"jsc": {
|
"jsc": {
|
||||||
"parser": {
|
"parser": {
|
||||||
"syntax": "typescript",
|
"syntax": "typescript",
|
||||||
"decorators": true,
|
"decorators": true,
|
||||||
"dynamicImport": true
|
"dynamicImport": true
|
||||||
},
|
|
||||||
"transform": {
|
|
||||||
"legacyDecorator": true,
|
|
||||||
"decoratorMetadata": true
|
|
||||||
},
|
|
||||||
"target": "ESNext",
|
|
||||||
"keepClassNames": true,
|
|
||||||
"loose": true
|
|
||||||
},
|
},
|
||||||
"module": {
|
"transform": {
|
||||||
"type": "es6",
|
"legacyDecorator": true,
|
||||||
"strict": false,
|
"decoratorMetadata": true
|
||||||
"strictMode": true,
|
|
||||||
"lazy": false,
|
|
||||||
"noInterop": false
|
|
||||||
},
|
},
|
||||||
"sourceMaps": true
|
"target": "es2022",
|
||||||
}
|
"keepClassNames": true,
|
||||||
|
"loose": true
|
||||||
|
},
|
||||||
|
"module": {
|
||||||
|
"type": "nodenext",
|
||||||
|
"strict": false,
|
||||||
|
"strictMode": true,
|
||||||
|
"lazy": false,
|
||||||
|
"noInterop": false
|
||||||
|
},
|
||||||
|
"sourceMaps": true
|
||||||
|
}
|
||||||
|
|||||||
@@ -9,12 +9,12 @@
|
|||||||
"legacyDecorator": true,
|
"legacyDecorator": true,
|
||||||
"decoratorMetadata": true
|
"decoratorMetadata": true
|
||||||
},
|
},
|
||||||
"target": "ESNext",
|
"target": "es2022",
|
||||||
"keepClassNames": true,
|
"keepClassNames": true,
|
||||||
"loose": true
|
"loose": true
|
||||||
},
|
},
|
||||||
"module": {
|
"module": {
|
||||||
"type": "es6",
|
"type": "nodenext",
|
||||||
"strict": false,
|
"strict": false,
|
||||||
"strictMode": true,
|
"strictMode": true,
|
||||||
"lazy": false,
|
"lazy": false,
|
||||||
|
|||||||
@@ -9,12 +9,12 @@
|
|||||||
"legacyDecorator": true,
|
"legacyDecorator": true,
|
||||||
"decoratorMetadata": true
|
"decoratorMetadata": true
|
||||||
},
|
},
|
||||||
"target": "ESNext",
|
"target": "es2022",
|
||||||
"keepClassNames": true,
|
"keepClassNames": true,
|
||||||
"loose": true
|
"loose": true
|
||||||
},
|
},
|
||||||
"module": {
|
"module": {
|
||||||
"type": "es6",
|
"type": "nodenext",
|
||||||
"strict": false,
|
"strict": false,
|
||||||
"strictMode": true,
|
"strictMode": true,
|
||||||
"lazy": false,
|
"lazy": false,
|
||||||
|
|||||||
@@ -9,12 +9,12 @@
|
|||||||
"legacyDecorator": true,
|
"legacyDecorator": true,
|
||||||
"decoratorMetadata": true
|
"decoratorMetadata": true
|
||||||
},
|
},
|
||||||
"target": "ESNext",
|
"target": "es2022",
|
||||||
"keepClassNames": true,
|
"keepClassNames": true,
|
||||||
"loose": true
|
"loose": true
|
||||||
},
|
},
|
||||||
"module": {
|
"module": {
|
||||||
"type": "es6",
|
"type": "nodenext",
|
||||||
"strict": false,
|
"strict": false,
|
||||||
"strictMode": true,
|
"strictMode": true,
|
||||||
"lazy": false,
|
"lazy": false,
|
||||||
|
|||||||
@@ -9,12 +9,12 @@
|
|||||||
"legacyDecorator": true,
|
"legacyDecorator": true,
|
||||||
"decoratorMetadata": true
|
"decoratorMetadata": true
|
||||||
},
|
},
|
||||||
"target": "ESNext",
|
"target": "es2022",
|
||||||
"keepClassNames": true,
|
"keepClassNames": true,
|
||||||
"loose": true
|
"loose": true
|
||||||
},
|
},
|
||||||
"module": {
|
"module": {
|
||||||
"type": "es6",
|
"type": "nodenext",
|
||||||
"strict": false,
|
"strict": false,
|
||||||
"strictMode": true,
|
"strictMode": true,
|
||||||
"lazy": false,
|
"lazy": false,
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
"$schema": "https://json.schemastore.org/tsconfig",
|
"$schema": "https://json.schemastore.org/tsconfig",
|
||||||
"display": "Default",
|
"display": "Default",
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"target": "ESNext",
|
"target": "es2022",
|
||||||
"module": "ESNext",
|
"module": "ESNext",
|
||||||
"composite": false,
|
"composite": false,
|
||||||
"declaration": true,
|
"declaration": true,
|
||||||
@@ -21,14 +21,9 @@
|
|||||||
"importsNotUsedAsValues": "error",
|
"importsNotUsedAsValues": "error",
|
||||||
"resolveJsonModule": true
|
"resolveJsonModule": true
|
||||||
},
|
},
|
||||||
"exclude": [
|
"exclude": ["node_modules", "dist", "tests", "test"],
|
||||||
"node_modules",
|
|
||||||
"dist",
|
|
||||||
"tests",
|
|
||||||
"test"
|
|
||||||
],
|
|
||||||
"ts-node": {
|
"ts-node": {
|
||||||
"swc": true,
|
"swc": true,
|
||||||
"esm": true
|
"esm": true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -9,12 +9,12 @@
|
|||||||
"legacyDecorator": true,
|
"legacyDecorator": true,
|
||||||
"decoratorMetadata": true
|
"decoratorMetadata": true
|
||||||
},
|
},
|
||||||
"target": "ESNext",
|
"target": "es2022",
|
||||||
"keepClassNames": true,
|
"keepClassNames": true,
|
||||||
"loose": true
|
"loose": true
|
||||||
},
|
},
|
||||||
"module": {
|
"module": {
|
||||||
"type": "es6",
|
"type": "nodenext",
|
||||||
"strict": false,
|
"strict": false,
|
||||||
"strictMode": true,
|
"strictMode": true,
|
||||||
"lazy": false,
|
"lazy": false,
|
||||||
|
|||||||
@@ -9,12 +9,12 @@
|
|||||||
"legacyDecorator": true,
|
"legacyDecorator": true,
|
||||||
"decoratorMetadata": true
|
"decoratorMetadata": true
|
||||||
},
|
},
|
||||||
"target": "ESNext",
|
"target": "es2022",
|
||||||
"keepClassNames": true,
|
"keepClassNames": true,
|
||||||
"loose": true
|
"loose": true
|
||||||
},
|
},
|
||||||
"module": {
|
"module": {
|
||||||
"type": "es6",
|
"type": "nodenext",
|
||||||
"strict": false,
|
"strict": false,
|
||||||
"strictMode": true,
|
"strictMode": true,
|
||||||
"lazy": false,
|
"lazy": false,
|
||||||
|
|||||||
Reference in New Issue
Block a user