Skip to content
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

feat(config): dynamically generate list of svelte exports #941

Merged
merged 2 commits into from
Jul 11, 2024

Conversation

dominikg
Copy link
Member

@dominikg dominikg commented Jul 8, 2024

port of #877 for svelte5 only

pulling the list of export names from package.json helps when svelte adds a new export. Otherwise we have to release a new version of vite plugin svelte each time

@dominikg
Copy link
Member Author

dominikg commented Jul 9, 2024

added a small optimization to exclude server-only exports from optimizeDeps

@dominikg dominikg merged commit ab2dd12 into main Jul 11, 2024
6 checks passed
@dominikg dominikg deleted the feat/generate-svelte-imports branch July 11, 2024 08:42
@github-actions github-actions bot mentioned this pull request Jul 9, 2024
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.

1 participant