Skip to content

fix: relax community add-on requirements (alternate) - #1233

Open
AdrianGonz97 wants to merge 1 commit into
version-1from
1225-alternative
Open

fix: relax community add-on requirements (alternate)#1233
AdrianGonz97 wants to merge 1 commit into
version-1from
1225-alternative

Conversation

@AdrianGonz97

Copy link
Copy Markdown
Member

Description

Alternative to #1224
Closes #1210

Rather than simply checking the export conditions and dependency fields for non-bundled deps, we'll instead try to load the module and handle the specific node error code for missing modules, which would be indicative of deps that are not bundled.

note: this hasn't been tested on Bun or Deno yet. their missing module error codes could be different. will do that shortly. It looks to work on Bun and Deno as well (though if someone else could verify this as well, that would be great!)

Checklist

  • Update snapshots (if applicable)
  • Add a changeset (if applicable)
  • Allow maintainers to edit this PR
  • I care about what I'm doing, no matter the tool I use (Notepad, Sublime, VSCode, AI...)

@pkg-svelte-dev

pkg-svelte-dev Bot commented Aug 7, 2026

Copy link
Copy Markdown

Install the latest version of sv from 7733fe2:

pnpm add https://pkg.svelte.dev/sv/c/7733fe2d0a02a2aefc68548b182817b2545b6240

Open in pkg.svelte.dev: https://pkg.svelte.dev/repos/cli/pr/1233

@changeset-bot

changeset-bot Bot commented Aug 7, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 7733fe2

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

This PR includes changesets to release 1 package
Name Type
sv 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

@svelte-docs-bot

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.

Relax sv add requirements

1 participant