From b16102fb403322e53ea87e1e3037675ed5f0992c Mon Sep 17 00:00:00 2001 From: afc163 Date: Mon, 3 Sep 2018 21:40:19 +0800 Subject: [PATCH] start ANALYZE page in dev --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index a8614a90..557f3451 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ "scripts": { "precommit": "npm run lint-staged", "presite": "npm run generate-mock && cd functions && npm install", - "start": "cross-env APP_TYPE=site umi dev", + "start": "cross-env APP_TYPE=site ANALYZE=1 umi dev", "start:no-mock": "cross-env MOCK=none umi dev", "build": "umi build", "site": "npm run presite && cross-env APP_TYPE=site npm run build && firebase deploy", -- GitLab