react-icons / react-icons

svg react icons of popular icon packs
https://react-icons.github.io/react-icons/
Other
11.25k stars 725 forks source link

Fix: Strict ESM loader compatibility #880

Closed e1himself closed 5 months ago

e1himself commented 6 months ago

Hi!

The ESM exports the package provided are not conforming with the ESM loader spec:

These changes, in particular, fix the package compatibility with Deno, which only works with ECMAScript modules.

Fixes: #717, alternative to #785


What has been changed:

Let me know if there's anything else I have to do to get this code merged.

Thank you!

kamijin-fanta commented 5 months ago

Excellent work! Doesn't look like you are breaking compatibility, but just in case I am considering releasing a major version up.

kamijin-fanta commented 5 months ago

publish in react-icons@5.0.0 :tada:

e1himself commented 5 months ago

Thank you! :+1: