|
- module.exports = {
- devServer: {
- port: 9999,
- proxy: 'http://10.209.96.72:8080'
- },
- chainWebpack(config) {
- config
- .when(process.env.NODE_ENV === 'production', config => {
- config
- .output
- .publicPath(process.env.NODE_ENV === 'production' ? '/wechatOrder/' : '/')
- .end();
- });
- }
- };
|