From a0ecd04575dad5e5ac3ab31699c6e40ba00e7084 Mon Sep 17 00:00:00 2001 From: afc163 Date: Fri, 12 Jan 2018 13:45:53 +0800 Subject: [PATCH] Fix roadhog build analyze, sorrycc/roadhog#541 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 34227975..30151ceb 100755 --- a/package.json +++ b/package.json @@ -9,7 +9,7 @@ "start:no-proxy": "cross-env NO_PROXY=true DISABLE_ESLINT=true roadhog dev", "build": "cross-env DISABLE_ESLINT=true roadhog build", "site": "roadhog-api-doc static && gh-pages -d dist", - "analyze": "roadhog build --analyze", + "analyze": "ANALYZE=true roadhog build", "lint:style": "stylelint \"src/**/*.less\" --syntax less", "lint": "eslint --ext .js src mock tests && npm run lint:style", "lint:fix": "eslint --fix --ext .js src mock tests && npm run lint:style", -- GitLab