The Workbox CLI integrates well with Snowpack. Run the wizard to bootstrap your first configuration file, and then run
workbox generateSW to generate your service worker.
Remember that Workbox expects to be run every time you deploy, as a part of a production build process. If you don't have one yet, create package.json
"build" scripts to automate your production build process.