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

fix: align resolve.extensions with webpack builder #80

Merged
merged 1 commit into from
Sep 3, 2024
Merged

fix: align resolve.extensions with webpack builder #80

merged 1 commit into from
Sep 3, 2024

Conversation

fi3ework
Copy link
Member

@fi3ework fi3ework commented Sep 3, 2024

Fix #76.

@fi3ework fi3ework merged commit 09cd950 into main Sep 3, 2024
3 checks passed
@fi3ework fi3ework deleted the ext branch September 3, 2024 03:25
@@ -288,6 +288,15 @@ export default async (

config.resolve ??= {}
config.resolve.symlinks = !isPreservingSymlinks()
config.resolve.extensions = [
Copy link
Member

Choose a reason for hiding this comment

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

How about change the default value in Rsbuild?

Copy link
Member Author

@fi3ework fi3ework Sep 3, 2024

Choose a reason for hiding this comment

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

I've considered this option. And I think Storybook has some exclusive convention and may affect the whole Storybook ecosystem. It's better to perfect consistency with Storybook's config to avoid other breaks in the future. Rsbuild's default value could handle most practices, but Storybook is a bit special. :P

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants