fix: Load workbox locally instead of loading it by cdn (grr)

This commit is contained in:
Tixie 2019-03-09 19:03:41 +01:00
parent dc0559805f
commit a2a9740968

View file

@ -4,14 +4,9 @@ module.exports = {
themeColor: '#8420a7',
msTileColor: '#212045',
appleMobileWebAppCapable: 'yes',
appleMobileWebAppStatusBarStyle: 'black'
// // configure the workbox plugin
// workboxPluginMode: 'InjectManifest',
// workboxOptions: {
// // swSrc is required in InjectManifest mode.
// swSrc: 'dev/sw.js',
// // ...other Workbox options...
// }
appleMobileWebAppStatusBarStyle: 'black',
workboxOptions: {
importWorkboxFrom: 'local'
}
}
}