client: disable telemetry when building

pull/60/head
fantasticit 2022-05-25 09:38:10 +08:00
parent 5fa1cc3e37
commit bdfdef3cd3
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@
"private": true,
"scripts": {
"prebuild": "rimraf .next",
"build": "next build && node copy-diagram-resources.js",
"build": "npx next telemetry disable && next build && node copy-diagram-resources.js",
"dev": "node dev-server.js",
"start": "cross-env NODE_ENV=production node prod-server.js",
"pm2": "pm2 start npm --name @think/client -- start"