26 lines
619 B
JavaScript
26 lines
619 B
JavaScript
|
module.exports = {
|
||
|
productionSourceMap: true,
|
||
|
configureWebpack: {
|
||
|
devtool: 'source-map'
|
||
|
},
|
||
|
devServer: {
|
||
|
proxy: {
|
||
|
['^(?!/login)']: {
|
||
|
target: 'http://localhost:8888',
|
||
|
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"
|
||
|
}
|
||
|
}
|
||
|
};
|