fix service worker registration #12

This commit is contained in:
lana-k
2021-04-30 14:14:41 +02:00
parent 5ded99e89f
commit 7f4b167dc2
3 changed files with 10 additions and 5 deletions
+1
View File
@@ -12,6 +12,7 @@ module.exports = {
{ from: 'LICENSE', to: './' }
]),
new WorkboxPlugin.GenerateSW({
exclude: [/\.map$/, 'LICENSE', 'queries.json'],
clientsClaim: true,
skipWaiting: false,
maximumFileSizeToCacheInBytes: 40000000