fix(1.0): add cross-env to pnpm run dev (#12600)

This commit is contained in:
非法操作 2025-01-21 19:51:32 +08:00 committed by GitHub
parent b5accda3fe
commit 357d2e8be8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@
"node": ">=18.17.0"
},
"scripts": {
"dev": "NODE_OPTIONS='--inspect' next dev",
"dev": "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",