From bdfdef3cd30fe2ca3470509bdf3b4fa44b16eb4e Mon Sep 17 00:00:00 2001 From: fantasticit Date: Wed, 25 May 2022 09:38:10 +0800 Subject: [PATCH] client: disable telemetry when building --- packages/client/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/client/package.json b/packages/client/package.json index e07a2ea4..0a740cb7 100644 --- a/packages/client/package.json +++ b/packages/client/package.json @@ -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"