mirror of
https://github.com/GuerillaStudio/souvenir.git
synced 2025-01-20 22:30:20 +00:00
fix: Load workbox locally instead of loading it by cdn (grr)
This commit is contained in:
parent
dc0559805f
commit
a2a9740968
1 changed files with 4 additions and 9 deletions
|
@ -4,14 +4,9 @@ module.exports = {
|
||||||
themeColor: '#8420a7',
|
themeColor: '#8420a7',
|
||||||
msTileColor: '#212045',
|
msTileColor: '#212045',
|
||||||
appleMobileWebAppCapable: 'yes',
|
appleMobileWebAppCapable: 'yes',
|
||||||
appleMobileWebAppStatusBarStyle: 'black'
|
appleMobileWebAppStatusBarStyle: 'black',
|
||||||
|
workboxOptions: {
|
||||||
// // configure the workbox plugin
|
importWorkboxFrom: 'local'
|
||||||
// workboxPluginMode: 'InjectManifest',
|
}
|
||||||
// workboxOptions: {
|
|
||||||
// // swSrc is required in InjectManifest mode.
|
|
||||||
// swSrc: 'dev/sw.js',
|
|
||||||
// // ...other Workbox options...
|
|
||||||
// }
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue