Files
dougal-software/lib/www/client/source/vue.config.js
D. Berge 086172c5e7 Upgrade dependencies.
This is a conservative upgrade.

The upgraded version of leaflet-arrowheads uses optional chaining which
seems to cause webpack to choke, so added to "transpileDependencies" in
vue.config.js.

Closes #189.
2022-03-18 16:29:50 +01:00

26 lines
443 B
JavaScript

module.exports = {
"transpileDependencies": [
"vuetify",
"leaflet-arrowheads"
],
devServer: {
proxy: {
"^/api(/|$)": {
target: "http://localhost:3000",
},
"^/ws(/|$)": {
target: "ws://localhost:3000",
ws: true
}
}
},
chainWebpack: config => {
config
.plugin('html')
.tap(args => {
args[0].title = 'Dougal Web'
return args
})
}
}