优化生产环境多数据源报错
This commit is contained in:
@@ -3,8 +3,10 @@ setlocal
|
||||
set REPO=%~dp0
|
||||
set WEBDIST=%REPO%web-dist
|
||||
|
||||
echo [1/4] build frontend (pnpm build) ...
|
||||
echo [1/4] build frontend (pnpm install + build) ...
|
||||
cd /d %REPO%jeecgboot-vue3
|
||||
call pnpm install
|
||||
if errorlevel 1 ( echo [ERROR] pnpm install failed & pause & exit /b 1 )
|
||||
call pnpm run build
|
||||
if errorlevel 1 ( echo [ERROR] frontend build failed & pause & exit /b 1 )
|
||||
if not exist "%REPO%jeecgboot-vue3\dist\index.html" ( echo [ERROR] dist/index.html not found & pause & exit /b 1 )
|
||||
|
||||
Reference in New Issue
Block a user