tests on service worker
This commit is contained in:
parent
ae6b6fbae4
commit
b7096d8646
@ -7,12 +7,17 @@ module.exports = {
|
||||
appleMobileWebAppCache: "yes",
|
||||
manifestOptions: {
|
||||
display: 'standalone',
|
||||
},
|
||||
workboxPluginMode: 'InjectManifest',
|
||||
workboxOptions: {
|
||||
swSrc: 'src/registerServiceWorker.js'
|
||||
}
|
||||
},
|
||||
configureWebpack: {
|
||||
plugins: [new GenerateSW({
|
||||
clientsClaim: true,
|
||||
skipWaiting: true,
|
||||
cleanupOutdatedCaches: true,
|
||||
navigateFallback: 'index.html',
|
||||
})],
|
||||
output: {
|
||||
|
Loading…
Reference in New Issue
Block a user