Skip to content

use type: 'module' for service worker registrations - #16169

Merged
Rich-Harris merged 2 commits into
version-3from
issue-16158-sw-module
Jun 26, 2026
Merged

Rich-Harris merged 2 commits into
version-3from
issue-16158-sw-module

Conversation

@elliott-with-the-longest-name-on-github

Copy link
Copy Markdown
Contributor

Module service workers are baseline now, so we can stop registering classic workers in production. This also lets us delete the env.script.js workaround entirely and just import env.js directly.

closes #16158

@changeset-bot

ghost commented Jun 25, 2026 •

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: d950280

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@sveltejs/kit Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@svelte-docs-bot

ghost commented Jun 25, 2026

Copy link
Copy Markdown

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

Successfully merging this pull request may close these issues.

Use type: 'module' for service worker registrations

2 participants