MeterSphere/frontend/vue.config.js
2020-02-03 15:16:37 +08:00

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"
}
}
};