Skip to content

Conversation

@BobbieGoede
Copy link
Member

@BobbieGoede BobbieGoede commented Mar 7, 2025

Adding support for rspack is pretty much the same as it is for webpack, so I tried to reuse existing logic, also merged and reused the tests.

Hopefully resolves #417

@BobbieGoede BobbieGoede self-assigned this Mar 7, 2025
@BobbieGoede BobbieGoede requested a review from kazupon March 8, 2025 10:35
}
},

loadInclude(id: string) {
Copy link
Member Author

Choose a reason for hiding this comment

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

This was necessary to make things work in rspack and probably improves performance for webpack, it seems like the plugin was handling more files than expected (such as css files as in the repro shared in #417 (comment))

Copy link
Member

@kazupon kazupon left a comment

Choose a reason for hiding this comment

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

Awesome! ❤️
Thank you so much!

@kazupon kazupon merged commit 7c0fd02 into main Mar 9, 2025
22 checks passed
@kazupon kazupon deleted the feat/support-rspack branch March 9, 2025 02:36
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.

Supports rspack

3 participants