From e53e33dd46fdf138c851b10f12cdc00131a8d644 Mon Sep 17 00:00:00 2001 From: wupengfei <834520024@qq.com> Date: 星期二, 25 二月 2025 17:12:44 +0800 Subject: [PATCH] fix: bug --- apps/taro/config/prod.js | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/apps/taro/config/prod.js b/apps/taro/config/prod.js index 4e89645..3099e80 100644 --- a/apps/taro/config/prod.js +++ b/apps/taro/config/prod.js @@ -1,7 +1,10 @@ +const path = require('path'); + module.exports = { env: { NODE_ENV: '"production"', BASE_URL: '"https://api.81812333.com"', + BASE_URL_H5: '"https://api.81812333.com"', BASE_URL_JX: '"https://api.jx818.com"', OSS_URL: '"https://parkmanagement.oss-cn-hangzhou.aliyuncs.com"', @@ -11,6 +14,9 @@ defineConstants: {}, mini: {}, h5: { + output: { + path: path.resolve(__dirname, '..', `dist/h5-prod`), + }, /** * WebpackChain 鎻掍欢閰嶇疆 * @docs https://github.com/neutrinojs/webpack-chain -- Gitblit v1.9.1