Closed e1himself closed 5 months ago
Hi!
The ESM exports the package provided are not conforming with the ESM loader spec:
.mjs
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:
/esm/
/cjs/
.d.ts
react-icons
Let me know if there's anything else I have to do to get this code merged.
Thank you!
Excellent work! Doesn't look like you are breaking compatibility, but just in case I am considering releasing a major version up.
publish in react-icons@5.0.0 :tada:
Thank you! :+1:
Hi!
The ESM exports the package provided are not conforming with the ESM loader spec:
.mjs
extensionThese changes, in particular, fix the package compatibility with Deno, which only works with ECMAScript modules.
Fixes: #717, alternative to #785
What has been changed:
/esm/
and/cjs/
folders merged together -- there's no need to separate them and to duplicate.d.ts
declarations.d.ts
files only, while the JS artifacts are built with Babel with two different configurations: ESM and CommonJSreact-icons
package.json fileLet me know if there's anything else I have to do to get this code merged.
Thank you!