module.exports = {
lintOnSave: false,
outputDir: 'user-manage',//更改dist文件名称
// publicPath: "./", //配置打包之后的相对路径
devServer: {
proxy: {
"/api": {
target: "https://522dd5c4.cpolar.cn/",
ws: true,
changeOrigin: true,
pathRewrite: {
"^/api": ""
}
}
}
}
}