fix: 使用编译产物启动 API 开发服务

This commit is contained in:
que01 committed 2026-09-19 11:24:49 +08:00
1 parent ccf1c6bc31
commit 89eecc1c46
1 file changed
+1 -1
+1 -1
View File
@@ -4,7 +4,7 @@
"type": "module",
"scripts": {
"build": "tsc -p tsconfig.json",
"dev": "tsx watch src/main.ts",
"dev": "pnpm build && node --env-file=.env dist/main.js",
"lint": "eslint .",
"typecheck": "tsc -p tsconfig.json --noEmit",
"test": "tsx --test test/**/*.test.ts",