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

docs: extend default configuration for mainFields and conditionNames #240

Merged
merged 1 commit into from
Jun 4, 2024

Conversation

non25
Copy link
Contributor

@non25 non25 commented May 29, 2024

Hello!

Some newer npm packages that rely on dynamic exports break with suggested resolve.mainFields and resolve.conditionNames configuration, since it lacks development mode and other things.

The '...' thing should re-add webpack's default configuration and make them all work good, while preferring svelte exports if any. 🙂

Copy link
Member

@dummdidumm dummdidumm left a comment

Choose a reason for hiding this comment

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

Thank you!

@dummdidumm dummdidumm merged commit c8a786f into sveltejs:master Jun 4, 2024
6 checks passed
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