prod.js 556B

1234567891011121314151617181920212223
  1. module.exports = {
  2. env: {
  3. NODE_ENV: '"production"'
  4. },
  5. defineConstants: {
  6. // HOST: '"https://machine.njyunzhi.com"',
  7. HOST: '"http://192.168.89.147:7080"',
  8. OSS: '""',
  9. // VERSION: '"2.0.33"',
  10. },
  11. mini: {},
  12. h5: {
  13. /**
  14. * 如果h5端编译后体积过大,可以使用webpack-bundle-analyzer插件对打包体积进行分析。
  15. * 参考代码如下:
  16. * webpackChain (chain) {
  17. * chain.plugin('analyzer')
  18. * .use(require('webpack-bundle-analyzer').BundleAnalyzerPlugin, [])
  19. * }
  20. */
  21. }
  22. }