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.
 
 
 
 
 
 

15 regels
414 B

  1. module.exports = {
  2. devServer: {
  3. port: 9999,
  4. proxy: 'http://10.209.96.72:8080'
  5. },
  6. chainWebpack(config) {
  7. config
  8. .when(process.env.NODE_ENV === 'production', config => {
  9. config
  10. .output
  11. .publicPath(process.env.NODE_ENV === 'production' ? '/wechatOrder/' : '/')
  12. .end();
  13. });
  14. }
  15. };