Skip to content

fix: don't duplicate remote modules in the generated manifest - #16532

Merged
teemingc merged 4 commits into
sveltejs:version-3from
Nic-Polumeyv:fix-remotes-manifest-duplicates
Jul 27, 2026
Merged

teemingc merged 4 commits into
sveltejs:version-3from
Nic-Polumeyv:fix-remotes-manifest-duplicates

Conversation

@Nic-Polumeyv

Copy link
Copy Markdown
Member

closes #16530

v2 was unaffected because the secondary client build re-read the Vite config and created fresh plugin instances, so the extra client-side pushes landed in an array nobody read. #15532 made one instance serve both environments.


Please don't delete this checklist! Before submitting the PR, please make sure you do the following:

Tests

  • 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:.

Edits

  • Please ensure that 'Allow edits from maintainers' is checked. PRs without this option may be closed.

@pkg-svelte-dev

ghost commented Jul 26, 2026 •

Copy link
Copy Markdown

Install the latest version of @sveltejs/kit from 76be760:

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

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

Note

This PR is from a fork. A maintainer must approve approve each commit before it can be built and installed.

@changeset-bot

ghost commented Jul 26, 2026 •

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 76be760

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 Patch

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

Comment thread packages/kit/src/exports/vite/index.js Resolved
@Nic-Polumeyv
Nic-Polumeyv requested a review from teemingc July 26, 2026 18:51
Comment thread packages/kit/src/exports/vite/index.js Resolved
@teemingc
teemingc merged commit 629b45d into sveltejs:version-3 Jul 27, 2026
@teemingc

ghost commented Jul 27, 2026

Copy link
Copy Markdown
Member

Thanks!

@Nic-Polumeyv
Nic-Polumeyv deleted the fix-remotes-manifest-duplicates branch July 30, 2026 22:53
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.

Remotes are duplicated in generated manifest (version-3)

2 participants