📦👷 Parcel plugin for caching using a service worker
Update to Workbox 4 (take a look at the changes)
Add cleanDist config for clearing out the outDir to prevent precaching stale files.
cleanDist
outDir