1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556 |
- module.exports = {
- devServer: {
- port: 8091,
- open:true,
-
- overlay: {
- warnings: false,
- errors: false,
- },
- proxy: {
- '/wdfn': {
- target: 'http://map.wanda.cn',
- changeOrigin: true,
- pathRewrite: {
- '^/wdfn': '/editor',
- },
- },
- '/serve': {
-
-
- target: 'http://60.205.177.43:8080',
- changeOrigin: true,
- secure: false,
- pathRewrite: {
- '^/serve': '',
- },
- },
- '/data': {
-
- target: 'http://60.205.177.43:9903',
- changeOrigin: true,
- secure: false,
- pathRewrite: {
- '^/data': '/data',
- },
- },
- },
- },
- chainWebpack: (config) => {
- const svgRule = config.module.rule('svg')
- svgRule.uses.clear()
- svgRule
- .use('babel-loader')
- .loader('babel-loader')
- .end()
- .use('vue-svg-loader')
- .loader('vue-svg-loader')
- },
- lintOnSave: false,
-
- publicPath: '/wandaTopol',
-
- outputDir: 'wandaTopol',
-
- assetsDir: 'static',
- }
|