Skip to content

fix(sveltekit): Add default exports condition#21472

Merged
Lms24 merged 1 commit into
developfrom
lms/fix-sveltekit-default-exports-condition
Jun 11, 2026
Merged

fix(sveltekit): Add default exports condition#21472
Lms24 merged 1 commit into
developfrom
lms/fix-sveltekit-default-exports-condition

Conversation

@Lms24

@Lms24 Lms24 commented Jun 11, 2026

Copy link
Copy Markdown
Member

Adds a default exports condition to the SvelteKit SDK package.json. The missing fallback condition caused Vercel workflows to throw errors due to a missing fitting condition. Apparently not all tools fall back to the top-level main and module entry points. We also have default conditions in NextJS and Nuxt so I think this is worth adding to the SvelteKit SDK as well.

All credits to @paoloricciuti for reporting and proposing the fix, thank you!

@Lms24 Lms24 requested a review from a team as a code owner June 11, 2026 13:45
@Lms24 Lms24 requested review from chargome and nicohrubec and removed request for a team June 11, 2026 13:45

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit b81b102. Configure here.

Comment thread packages/sveltekit/package.json
@Lms24 Lms24 self-assigned this Jun 11, 2026
@Lms24 Lms24 merged commit 7f25201 into develop Jun 11, 2026
48 checks passed
@Lms24 Lms24 deleted the lms/fix-sveltekit-default-exports-condition branch June 11, 2026 15:05
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