Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Default serviceWorker.register to false #13053

Open
JasonGoemaat opened this issue Nov 25, 2024 · 0 comments
Open

Default serviceWorker.register to false #13053

JasonGoemaat opened this issue Nov 25, 2024 · 0 comments

Comments

@JasonGoemaat
Copy link

Describe the problem

It took me a while to figure out how to disable this. I had to do a search for 'WorkBox' from all the stupid console messages I got when debugging. I had to read through several pages with invalid information on how to disable these in dev mode and couldn't find anywhere in my project where I'd have a service worker created. Finally I found that I could disable it in svelte.config.js setting config.kit.ServiceWorker.register to false

Describe the proposed solution

Set the default to false for this.

Importance

nice to have

@Conduitry Conduitry transferred this issue from sveltejs/svelte Nov 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant