From 649d76acdd2e2928881fd4fe8d13b5c2c26161f7 Mon Sep 17 00:00:00 2001 From: sin <2943460818@qq.com> Date: Sun, 10 Mar 2019 16:46:41 +0800 Subject: [PATCH] =?UTF-8?q?-=20build:admin-web=20=E5=A2=9E=E5=8A=A0=20BASE?= =?UTF-8?q?=5FPATH?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- admin-web/package.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/admin-web/package.json b/admin-web/package.json index 3419c4919..d2a00821c 100644 --- a/admin-web/package.json +++ b/admin-web/package.json @@ -7,10 +7,10 @@ "presite": "cd functions && npm install", "start": "cross-env APP_TYPE=site umi dev", "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", + "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:admin-web": "cross-env BASE_PATH=/admin-web 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", "lint:style": "stylelint 'src/**/*.less' --syntax less",