Closed jstet closed 1 month ago
Error only in local development. We prob just need a condition to not run this script if not in production
https://kit.svelte.dev/docs/service-workers#during-development
https://web.dev/articles/es-modules-in-sw
Firefox doesnt support this in dev
Uncaught (in promise) TypeError: ServiceWorker script at http://localhost:5173/service-worker.js for scope http://localhost:5173/ threw an exception during script evaluation.