From f02e4d26ef36fa317a93feb4e7b6341c47b72d4f Mon Sep 17 00:00:00 2001 From: sin <2943460818@qq.com> Date: Sun, 10 Mar 2019 17:10:29 +0800 Subject: [PATCH] =?UTF-8?q?-=20build:admin-web=20=E6=9E=84=E5=BB=BA?= =?UTF-8?q?=E5=91=BD=E4=BB=A4=E5=AD=98=E5=9C=A8=E8=BD=AC=E4=B9=89?= 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 d2a00821c..435260d2f 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",