zhengyiming
2025-02-24 d6e8780fb1b2fe5d14186901f0a45bbc7abbf3eb
apps/taro/config/prod.js
@@ -1,8 +1,10 @@
const path = require('path');
module.exports = {
  env: {
    NODE_ENV: '"production"',
    BASE_URL: '"https://api.81812333.com"',
    BASE_URL_H5: '"/"',
    BASE_URL_H5: '"https://api.81812333.com"',
    BASE_URL_JX: '"https://api.jx818.com"',
    OSS_URL: '"https://parkmanagement.oss-cn-hangzhou.aliyuncs.com"',
@@ -12,6 +14,9 @@
  defineConstants: {},
  mini: {},
  h5: {
    output: {
      path: path.resolve(__dirname, '..', `dist/h5-prod`),
    },
    /**
     * WebpackChain 插件配置
     * @docs https://github.com/neutrinojs/webpack-chain