1234567891011121314151617181920212223 |
- const isH5 = process.env.CLIENT_ENV === 'h5'
- // const HOST = '"https://miniapp.you.163.com"'
- // const HOST_M = '"https://m.you.163.com"'
- // XXX 搭了个 proxy 用于演示 prod 环境的 H5
- // const HOST_H5 = '"http://zhcq.jishutao.com"'
- // const HOST_M_H5 = '"http://jsnewbee.com/taro-yanxuan/api-m"'
- module.exports = {
- env: {
- NODE_ENV: '"production"'
- },
- defineConstants: {
- // HOST: isH5 ? HOST_H5 : HOST,
- // HOST_M: isH5 ? HOST_M_H5 : HOST_M
- },
- weapp: {},
- h5: {
- // publicPath: '/kede-createRD-h5'
- }
- }
|