souvenir/vue.config.js

20 lines
431 B
JavaScript
Raw Normal View History

2019-03-09 01:23:48 +00:00
module.exports = {
pwa: {
name: 'Souvenir',
themeColor: '#8420a7',
msTileColor: '#212045',
appleMobileWebAppCapable: 'yes',
appleMobileWebAppStatusBarStyle: 'black',
workboxOptions: {
importWorkboxFrom: 'local'
}
},
2019-03-10 03:22:29 +00:00
parallel: false,
2019-03-10 04:03:12 +00:00
chainWebpack: (config) => {
config.module.rule('worker')
.test(/\.worker\.js$/i)
.use('worker-loader')
.loader('worker-loader')
2019-03-09 01:23:48 +00:00
}
}