platypush/platypush/backend/http/webapp/vue.config.js
Fabio Manganiello ed5f7070a2
Removed bulma dependency from frontend
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%.
2022-03-28 12:54:36 +02:00

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