From 159e7afaa1cccd1d3df7d75f8e1ade31f2bbc7ea Mon Sep 17 00:00:00 2001 From: sin <2943460818@qq.com> Date: Wed, 3 Apr 2019 18:18:51 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=20package?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- admin-web/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin-web/package.json b/admin-web/package.json index 435260d2f..e942891ea 100644 --- a/admin-web/package.json +++ b/admin-web/package.json @@ -9,7 +9,7 @@ "start:no-mock": "cross-env MOCK=none umi dev", "start:admin-web": "cross-env BASE_PATH='/admin-web/' NODE_ENV=development APP_TYPE=site umi dev", "start:admin-web:no-mock": "cross-env BASE_PATH='/admin-web/' NODE_ENV=development MOCK=none APP_TYPE=site umi dev", - "build": "umi build", + "build": "cross-env BASE_PATH='/' NODE_ENV=production umi build", "build:admin-web": "cross-env BASE_PATH='/admin-web/' NODE_ENV=production umi build", "site": "npm run presite && cross-env APP_TYPE=site npm run build && firebase deploy && npm run docker:push", "analyze": "cross-env ANALYZE=1 umi build",