module.exports = {
  env: {
    NODE_ENV: '"development"'
  },
  defineConstants: {
    APPID:'"wx74db171e5f6524ad"'
    // HOST: '"http://localhost:7080"',
    // WSS_HOST: '"ws://localhost:7080"',
    // OSS_PATH: "https://njcj.oss-cn-shanghai.aliyuncs.com/",
    // OSS_FAST_PATH: "https://njcj.oss-accelerate.aliyuncs.com/",
  },
  mini: {},
  h5: {
    publicPath: '/',
    staticDirectory: 'static',
    postcss: {
      autoprefixer: {
        enable: true
      }
    },
    // 自定义 Webpack 配置
    // webpackChain: {},
    devServer: {
      proxy: {
        '/api': {
          // target: 'https://sgl.ycjcjy.com',
          target: 'http://127.0.0.1:7080',
          changeOrigin: true
        }
      }
    }
  }
}