Skip to content

chore: resolve service worker entry once - #16862

Merged
teemingc merged 2 commits into
version-3from
sw-resolve-once
Aug 20, 2026
Merged

teemingc merged 2 commits into
version-3from
sw-resolve-once

Conversation

@Nic-Polumeyv

Copy link
Copy Markdown
Member

After #16859, plugin_service_worker_env_vars re-resolves the service worker entry that plugin_setup already resolved and hands to plugin_service_worker_build. Pass it the same value via a getter and drop the redundant posixify in build/service-worker.js.


Before submitting the PR, please make sure you do the following

Tests and linting

  • Run the tests with pnpm test and lint the project with pnpm lint and pnpm check

Changesets

  • If your PR makes a change that should be noted in one or more packages' changelogs, generate a changeset by running pnpm changeset and following the prompts. Changesets that add features should be minor and those that fix bugs should be patch. Please prefix changeset messages with feat:, fix:, or chore:.

@pkg-svelte-dev

pkg-svelte-dev Bot commented Aug 20, 2026 •

Copy link
Copy Markdown

Install the latest version of @sveltejs/kit from 7a6c744:

pnpm add https://pkg.svelte.dev/@sveltejs/kit/c/7a6c744267587450ceff466507afc50cff477507

Open in pkg.svelte.dev: https://pkg.svelte.dev/repos/kit/pr/16862

@changeset-bot

changeset-bot Bot commented Aug 20, 2026 •

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 7a6c744

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

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

@svelte-docs-bot

Copy link
Copy Markdown

@teemingc
teemingc merged commit 0a0a0bc into version-3 Aug 20, 2026
39 of 40 checks passed
@teemingc
teemingc deleted the sw-resolve-once branch August 20, 2026 17:51
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.

2 participants