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

pull/12915/head
非法操作 1 year ago committed by GitHub
parent b5accda3fe
commit 357d2e8be8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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",

Loading…
Cancel
Save