Use tsc to build instead of swc (#4128)

This commit is contained in:
Fleny
2025-02-12 19:23:28 +01:00
committed by GitHub
parent e387f2cae2
commit 039c1945cc
20 changed files with 27 additions and 9301 deletions
-24
View File
@@ -1,24 +0,0 @@
{
"$schema": "https://json.schemastore.org/swcrc",
"jsc": {
"parser": {
"syntax": "typescript",
"decorators": true,
"dynamicImport": true
},
"transform": {
"legacyDecorator": true,
"decoratorMetadata": true
},
"target": "es2022",
"keepClassNames": true,
"loose": true
},
"module": {
"type": "es6",
"strict": false,
"strictMode": true,
"lazy": false,
"noInterop": false
}
}
+1 -3
View File
@@ -9,7 +9,7 @@
"packageManager": "yarn@4.6.0",
"scripts": {
"start": "node dist/index.js",
"build": "swc src --strip-leading-paths --delete-dir-on-start --out-dir dist"
"build": "tsc"
},
"dependencies": {
"@discordeno/bot": "20.0.0",
@@ -17,8 +17,6 @@
"dotenv": "^16.4.5"
},
"devDependencies": {
"@swc/cli": "^0.5.0",
"@swc/core": "^1.9.2",
"@types/node": "^22.9.0",
"typescript": "^5.6.3"
}
+1
View File
@@ -6,6 +6,7 @@
"forceConsistentCasingInFileNames": true,
"isolatedModules": true,
"moduleResolution": "node",
"outDir": "dist",
"skipDefaultLibCheck": true,
"skipLibCheck": true,
"strict": true,
File diff suppressed because it is too large Load Diff