Skip to content

perf: skip running plugin completely - #16388

Merged
Rich-Harris merged 1 commit into
version-3from
plugin-apply-client
Jul 17, 2026
Merged

perf: skip running plugin completely#16388
Rich-Harris merged 1 commit into
version-3from
plugin-apply-client

Conversation

@teemingc

Copy link
Copy Markdown
Member

follow up to #16383

Using applyToEnvironment is better here as the plugin isn't needed in the server environment if we're already using an if (...) guard to opt out early

@teemingc
teemingc requested a review from Rich-Harris July 17, 2026 14:47
@pkg-svelte-dev

Copy link
Copy Markdown

Install the latest version of @sveltejs/kit from ba2413f:

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

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

@changeset-bot

changeset-bot Bot commented Jul 17, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: ba2413f

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

@teemingc teemingc changed the title fix: skip running plugin completely perf: skip running plugin completely Jul 17, 2026

@Rich-Harris Rich-Harris left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice!

@Rich-Harris
Rich-Harris merged commit 27780a8 into version-3 Jul 17, 2026
20 of 21 checks passed
@Rich-Harris
Rich-Harris deleted the plugin-apply-client branch July 17, 2026 15:13
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