forked from platypush/platypush
Fabio Manganiello
ed5f7070a2
The UI is now much faster, the build process completes within one minute (it used to take >15 minutes), and the size of the bundles has been reduced by ~70%.
39 lines
761 B
JavaScript
39 lines
761 B
JavaScript
module.exports = {
|
|
outputDir: "dist",
|
|
assetsDir: "static",
|
|
css: {
|
|
loaderOptions: {
|
|
sass: {
|
|
additionalData: `
|
|
@import '~w3css/w3.css';
|
|
@import "@/style/common.scss";
|
|
`
|
|
}
|
|
}
|
|
},
|
|
|
|
devServer: {
|
|
proxy: {
|
|
'/execute': {
|
|
target: 'http://localhost:8008',
|
|
changeOrigin: true
|
|
},
|
|
'/auth': {
|
|
target: 'http://localhost:8008',
|
|
changeOrigin: true
|
|
},
|
|
'/logout': {
|
|
target: 'http://localhost:8008',
|
|
changeOrigin: true
|
|
},
|
|
'/camera/*': {
|
|
target: 'http://localhost:8008',
|
|
changeOrigin: true
|
|
},
|
|
'/sound/*': {
|
|
target: 'http://localhost:8008',
|
|
changeOrigin: true
|
|
}
|
|
}
|
|
}
|
|
};
|