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