Add tsc-alias

This commit is contained in:
Tarrgon
2026-06-03 19:48:13 -04:00
parent 52a227334f
commit fd3f626db4
3 changed files with 268 additions and 3 deletions
+2 -1
View File
@@ -7,6 +7,7 @@
"@types/express-session": "1.18.1",
"eslint": "9.27.0",
"rimraf": "6.0.1",
"tsc-alias": "1.8.17",
"tsx": "4.19.4",
"typescript": "5.8.3",
"typescript-eslint": "8.32.1"
@@ -27,7 +28,7 @@
"scripts": {
"dev": "tsx watch --enable-source-maps src/index.ts",
"start": "node dist/index.js",
"build": "npm run clean && npx tsc && npm run copyfiles",
"build": "npm run clean && npx tsc && npx tsc-alias && npm run copyfiles",
"clean": "npx rimraf dist",
"copyfiles": "npx copyfiles -u 1 \"./src/**/*.html\" ./dist"
}