From e6a3916f6678b9eaca3b143d54759f789ddf3402 Mon Sep 17 00:00:00 2001 From: moux1024 <403053463@qq.com> Date: Mon, 29 Sep 2025 15:51:19 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0:=20=E7=BC=96=E8=AF=91?= =?UTF-8?q?=E5=8F=98=E9=87=8F=E5=AF=BC=E5=85=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- compile_dev.sh | 2 +- compile_prod.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/compile_dev.sh b/compile_dev.sh index 844878d..1dc7d07 100755 --- a/compile_dev.sh +++ b/compile_dev.sh @@ -40,7 +40,7 @@ if [ "$current_branch" = "$BRANCH_NAME" ]; then # 安装依赖并构建(通过 env-cmd 注入 .env.development 与 NODE_ENV) yarn install - npx --yes env-cmd -f .env.development -e development bash -lc 'export NODE_ENV=development; yarn build' + npx --yes env-cmd -f .env.development bash -lc 'export NODE_ENV=development; yarn build' # 准备dist目录 mkdir -p dist diff --git a/compile_prod.sh b/compile_prod.sh index 17a6d8a..5cb6d9c 100755 --- a/compile_prod.sh +++ b/compile_prod.sh @@ -40,7 +40,7 @@ if [ "$current_branch" = "$BRANCH_NAME" ]; then # 安装依赖并构建(通过 env-cmd 注入 .env.production 与 NODE_ENV) yarn install - npx --yes env-cmd -f .env.production -e production bash -lc 'export NODE_ENV=production; yarn build' + npx --yes env-cmd -f .env.production bash -lc 'export NODE_ENV=production; yarn build' # 准备dist目录 mkdir -p dist