Skip to content

Commit

Permalink
debug workbox
Browse files Browse the repository at this point in the history
  • Loading branch information
incognitojam committed Nov 11, 2022
1 parent 17929c4 commit 86688f0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions workbox.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,13 @@ module.exports = {
// override GenerateSW config here
// e.g. options.skipWaiting = true;
options.skipWaiting = false;
console.log('[Workbox]', 'GenerateSW', options);
return options;
},
InjectManifest: (options) => {
// override InjectManifest config here
// e.g. options.maximumFileSizeToCacheInBytes = 10 * 1024 * 1024;
console.log('[Workbox]', 'InjectManifest', options);
return options;
},
};

0 comments on commit 86688f0

Please sign in to comment.