Enable source maps in node & update name in Dockerfile.

This commit is contained in:
Nix Krystik
2026-05-20 02:55:21 +08:00
parent 4f365db12e
commit bf3ade207b
3 changed files with 6 additions and 5 deletions
+2 -2
View File
@@ -23,8 +23,8 @@
"sqlite3": "^5.1.7"
},
"scripts": {
"dev": "tsx watch src/index.ts",
"start": "node --enable-source-maps dist/index.js",
"dev": "tsx watch --enable-source-maps src/index.ts",
"start": "node dist/index.js",
"build": "npm run clean && npx tsc && npm run copyfiles",
"clean": "npx rimraf dist",
"copyfiles": "npx copyfiles -u 1 \"./src/**/*.html\" ./dist"