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: Correct rule.use to an array #237

Merged

Conversation

mihkeleidast
Copy link
Contributor

According to webpack documentation, rule.use should be an array. I believe it was once allowed to be an object and is still backwards compatible.

For more background, I use external-svg-sprite-loader which iterates over the rules/loaders and expects rule.use to be an array per the webpack docs. Trying to use playroom but running into bensampaio/external-svg-sprite-loader#58 at the moment, this change should fix the issue.

@mihkeleidast mihkeleidast requested a review from a team as a code owner September 13, 2021 09:47
Copy link
Contributor

@michaeltaranto michaeltaranto left a comment

Choose a reason for hiding this comment

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

Thanks!

@michaeltaranto michaeltaranto merged commit e7eac68 into seek-oss:master Sep 13, 2021
@mihkeleidast mihkeleidast deleted the feature/fix-rule-use-array branch September 30, 2021 07:41
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.

None yet

2 participants