公众号前端
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
 
 
 
 

29 rindas
602 B

  1. module.exports = {
  2. publicPath: "./",
  3. devServer: {
  4. // 后端请求转发,此配置仅开发环境有效,生产环境请参考生产环境部署文档配置nginx转发
  5. proxy: {
  6. '/wx': {
  7. target: 'http://localhost:8088/'
  8. }
  9. },
  10. port:8001,
  11. inline:false //实时编译
  12. },
  13. configureWebpack:{
  14. devServer: {
  15. disableHostCheck: true
  16. }
  17. },
  18. chainWebpack: config => {
  19. // 移除 prefetch 插件
  20. config.plugins.delete('prefetch')
  21. },
  22. outputDir: undefined,
  23. assetsDir: undefined,
  24. runtimeCompiler: undefined,
  25. productionSourceMap: false,
  26. parallel: undefined,
  27. css: undefined
  28. }