Skip to content

How to reference built files for caching in Service Worker? #5006

Answered by baffalop
baffalop asked this question in General
Discussion options

You must be logged in to vote

Looks like there's a plugin for this: parcel-plugin-sw-asset-urls. Though in the end I switched to using Workbox and no longer have the need. It appears the plugin plays havoc with ESM module imports, so beware.

Replies: 3 comments 5 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by baffalop
Comment options

You must be logged in to vote
1 reply
@baffalop
Comment options

Comment options

You must be logged in to vote
4 replies
@mischnic
Comment options

@ProLoser
Comment options

@ProLoser
Comment options

@baffalop
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants