Fix service worker bug

pull/2573/head
Jérémy Rialland 2023-04-26 16:03:23 +02:00 committed by Jérémy Rialland
parent 3b2f753263
commit 5b80bffa4f
1 changed files with 2 additions and 2 deletions

View File

@ -4,8 +4,8 @@ export const pwaOptions: Partial<Options> = {
// selfDestroying: true, // Unregister PWA
registerType: 'prompt',
strategies: 'injectManifest',
srcDir: 'source',
filename: 'entries/entry-sw.ts',
srcDir: 'source/entries',
filename: 'entry-sw.ts',
injectManifest: {
maximumFileSizeToCacheInBytes: 3000000,
manifestTransforms: [