mirror of
http://112.124.100.131/huang.ze/ebiz-dify-ai.git
synced 2025-12-19 07:46:53 +08:00
refactor(scripts): 重构开发脚本并添加调试模式
- 修改 "dev" 脚本,移除 NODE_OPTIONS 中的 --inspect 参数 - 新增 "dev:debug" 脚本,用于启动调试模式
This commit is contained in:
@@ -6,7 +6,8 @@
|
||||
"node": ">=18.18.0"
|
||||
},
|
||||
"scripts": {
|
||||
"dev": "cross-env NODE_OPTIONS='--inspect' next dev",
|
||||
"dev": "cross-env next dev",
|
||||
"dev:debug": "cross-env NODE_OPTIONS='--inspect' next dev",
|
||||
"build": "next build",
|
||||
"start": "cp -r .next/static .next/standalone/.next/static && cp -r public .next/standalone/public && cross-env PORT=$npm_config_port HOSTNAME=$npm_config_host node .next/standalone/server.js",
|
||||
"lint": "pnpm eslint --cache --cache-location node_modules/.cache/eslint/.eslint-cache",
|
||||
|
||||
Reference in New Issue
Block a user