prod.js 521B

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