-
Notifications
You must be signed in to change notification settings - Fork 16
fix: missing exports condition #79
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR refactors the package configuration to align with modern SvelteKit packaging conventions by reorganizing the exports field and updating documentation. The changes improve package structure and remove trailing whitespace issues.
Key changes:
- Adds a proper
exportsfield with Svelte-specific entry points - Moves the
sveltefield to a more logical position in package.json - Updates documentation with references to official Svelte packaging guidelines
- Cleans up trailing whitespace in README
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| package.json | Reorganizes package exports by adding an exports field and relocating the svelte field for better adherence to SvelteKit packaging standards |
| README.md | Adds documentation referencing official Svelte packaging guidelines and removes trailing whitespace from multiple lines |
282aed2 to
f53f407
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
fixes #56 - Add missing exports condition in package.json per https://svelte.dev/docs/kit/packaging#TypeScript - Add export conditions for cjs and mjs as well.
f53f407 to
cd374df
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
Copilot reviewed 2 out of 2 changed files in this pull request and generated no new comments.
|
🎉 This PR is included in version 1.2.0-next.4 🎉 The release is available on: Your semantic-release bot 📦🚀 |
|
🎉 This PR is included in version 1.2.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
fixes #56
Add missing exports condition in package.json per
https://svelte.dev/docs/kit/packaging#TypeScript