公众号前端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

преди 2 години
1234567891011121314151617181920212223242526272829
  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. }