819527061@qq.com
2024-01-04 9d07a202adaffc970506a9fb2a3bec9589ff51c4
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
var path = require("path")
module.exports = {
    baseUrl: './',
    configureWebpack: {
        resolve: {
            alias: {
                '@': path.join(__dirname, 'src')
            }
        }
    },
    assetsDir: 'static',
    productionSourceMap: false,
    devServer: {
        sockHost: 'localhost',
        port: 8082,
        disableHostCheck: true,
        proxy: {
            '/':{
                //target:'http://183.196.93.178',
                target:'http://127.0.0.1:8089',
                changeOrigin:true,
                pathRewrite:{
                    '/':''
                }
            }
        }
    }
}