You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With recent changes to SvelteKit, the service worker build process no longer gets modified by Vite plugins or configuration (see here for example) so I don't think this package will work anymore. Instead you can do something like the following in src/service-worker.js:
Also until sveltejs/kit#6329 lands you'll have to manually replace all of the Workbox-generated process.env.NODE_ENV calls in the service worker file after it is built.
It was good while it lasted. Thanks. :)
The text was updated successfully, but these errors were encountered:
With recent changes to SvelteKit, the service worker build process no longer gets modified by Vite plugins or configuration (see here for example) so I don't think this package will work anymore. Instead you can do something like the following in
src/service-worker.js
:Also until sveltejs/kit#6329 lands you'll have to manually replace all of the Workbox-generated
process.env.NODE_ENV
calls in the service worker file after it is built.It was good while it lasted. Thanks. :)
The text was updated successfully, but these errors were encountered: