module.exports = { productionSourceMap:false, publicPath: './', devServer: { open: true, host: 'localhost', port: 8080, proxy: { '/apis': { target: 'http://121.37.152.76:8080/samex/rest/webclientrest', // target host // target: 'https://www.cnd3b.com/samex/rest/webclientrest', // target host ws: true, // proxy websockets changeOrigin: true, // needed for virtual hosted sites pathRewrite: { '^/apis': '' // rewrite path } }, } } }