prod.js 540B

123456789101112131415161718192021222324
  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. defineConstants: {
  11. },
  12. mini: {},
  13. h5: {
  14. /**
  15. * 如果h5端编译后体积过大,可以使用webpack-bundle-analyzer插件对打包体积进行分析。
  16. * 参考代码如下:
  17. * webpackChain (chain) {
  18. * chain.plugin('analyzer')
  19. * .use(require('webpack-bundle-analyzer').BundleAnalyzerPlugin, [])
  20. * }
  21. */
  22. }
  23. }