完成consumer端同步
This commit is contained in:
@@ -1,10 +1,8 @@
|
||||
@echo off
|
||||
chcp 65001 >nul 2>&1
|
||||
|
||||
if exist pages.json copy /y pages.json pages.json.bak >nul 2>&1
|
||||
if exist manifest.json copy /y manifest.json manifest.json.bak >nul 2>&1
|
||||
|
||||
copy /y config\consumer\pages.json pages.json >nul 2>&1
|
||||
copy /y config\consumer\manifest.json manifest.json >nul 2>&1
|
||||
|
||||
echo 消费者端配置已应用,可以编译小程序了
|
||||
call npm run pages:consumer
|
||||
if errorlevel 1 exit /b 1
|
||||
|
||||
echo Consumer pages config applied.
|
||||
|
||||
Reference in New Issue
Block a user