prod.js 537 B

1234567891011121314151617181920212223
  1. const isH5 = process.env.CLIENT_ENV === 'h5'
  2. // const HOST = '"https://miniapp.you.163.com"'
  3. // const HOST_M = '"https://m.you.163.com"'
  4. // XXX 搭了个 proxy 用于演示 prod 环境的 H5
  5. // const HOST_H5 = '"http://zhcq.jishutao.com"'
  6. // const HOST_M_H5 = '"http://jsnewbee.com/taro-yanxuan/api-m"'
  7. module.exports = {
  8. env: {
  9. NODE_ENV: '"production"'
  10. },
  11. defineConstants: {
  12. // HOST: isH5 ? HOST_H5 : HOST,
  13. // HOST_M: isH5 ? HOST_M_H5 : HOST_M
  14. },
  15. weapp: {},
  16. h5: {
  17. // publicPath: '/kede-createRD-h5'
  18. }
  19. }