mirror of
https://gitee.com/fit2cloud-feizhiyun/MeterSphere.git
synced 2024-12-02 12:09:13 +08:00
27 lines
620 B
JavaScript
27 lines
620 B
JavaScript
module.exports = {
|
|
productionSourceMap: true,
|
|
configureWebpack: {
|
|
devtool: 'source-map'
|
|
},
|
|
devServer: {
|
|
proxy: {
|
|
['^(?!/login)']: {
|
|
target: 'http://localhost:8081',
|
|
ws: true,
|
|
}
|
|
}
|
|
},
|
|
pages: {
|
|
performance: {
|
|
entry: "src/performance/main.js",
|
|
template: "src/performance/index.html",
|
|
filename: "index.html"
|
|
},
|
|
login: {
|
|
entry: "src/login/login.js",
|
|
template: "src/login/login.html",
|
|
filename: "login.html"
|
|
}
|
|
}
|
|
};
|