prod.js 511B

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