Commit b16102fb authored by afc163's avatar afc163

start ANALYZE page in dev

parent 01af1c41
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
"scripts": { "scripts": {
"precommit": "npm run lint-staged", "precommit": "npm run lint-staged",
"presite": "npm run generate-mock && cd functions && npm install", "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", "start:no-mock": "cross-env MOCK=none umi dev",
"build": "umi build", "build": "umi build",
"site": "npm run presite && cross-env APP_TYPE=site npm run build && firebase deploy", "site": "npm run presite && cross-env APP_TYPE=site npm run build && firebase deploy",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment