JetBrains / svg-sprite-loader

Webpack loader for creating SVG sprites.
MIT License
2.01k stars 272 forks source link

Fix #464 - rawRule.use is not iterable #472

Closed roamn closed 2 years ago

roamn commented 2 years ago

What kind of change does this PR introduce? (bugfix, feature, docs update, improvement) bugfix

What is the current behavior? (You can also link to an open issue here)

464

What is the new behavior (if this is a feature change)? Added isArray checking and wrapping rule.use to array if it is an object.

Does this PR introduce a breaking change? No

Please check if the PR fulfills contributing guidelines

Cerberrus commented 2 years ago

Thank you!

nueq22 commented 2 years ago

👍