2020-11-21 01:12:08 +01:00
|
|
|
module.exports = {
|
2021-02-20 23:26:25 +01:00
|
|
|
outputDir: "dist",
|
2020-11-21 01:12:08 +01:00
|
|
|
assetsDir: "static",
|
|
|
|
css: {
|
|
|
|
loaderOptions: {
|
|
|
|
sass: {
|
|
|
|
additionalData: `
|
2020-12-14 02:13:55 +01:00
|
|
|
@import '~w3css/w3.css';
|
2020-12-26 15:03:12 +01:00
|
|
|
@import "@/style/common.scss";
|
2020-11-21 01:12:08 +01:00
|
|
|
`
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
devServer: {
|
|
|
|
proxy: {
|
|
|
|
'/execute': {
|
|
|
|
target: 'http://localhost:8008',
|
2021-02-16 01:51:37 +01:00
|
|
|
changeOrigin: true
|
2021-02-15 22:49:13 +01:00
|
|
|
},
|
|
|
|
'/auth': {
|
|
|
|
target: 'http://localhost:8008',
|
2021-02-16 01:51:37 +01:00
|
|
|
changeOrigin: true
|
2021-02-15 22:49:13 +01:00
|
|
|
},
|
|
|
|
'/logout': {
|
|
|
|
target: 'http://localhost:8008',
|
2021-02-16 01:51:37 +01:00
|
|
|
changeOrigin: true
|
|
|
|
},
|
|
|
|
'/camera/*': {
|
|
|
|
target: 'http://localhost:8008',
|
|
|
|
changeOrigin: true
|
2021-02-17 01:02:47 +01:00
|
|
|
},
|
|
|
|
'/sound/*': {
|
|
|
|
target: 'http://localhost:8008',
|
|
|
|
changeOrigin: true
|
2020-11-21 01:12:08 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
};
|