souvenir/vue.config.js
2019-03-10 05:03:12 +01:00

19 lines
431 B
JavaScript

module.exports = {
pwa: {
name: 'Souvenir',
themeColor: '#8420a7',
msTileColor: '#212045',
appleMobileWebAppCapable: 'yes',
appleMobileWebAppStatusBarStyle: 'black',
workboxOptions: {
importWorkboxFrom: 'local'
}
},
parallel: false,
chainWebpack: (config) => {
config.module.rule('worker')
.test(/\.worker\.js$/i)
.use('worker-loader')
.loader('worker-loader')
}
}