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

react-icons ES module seems broken #789

Open
steabert opened this issue Dec 22, 2024 · 0 comments
Open

react-icons ES module seems broken #789

steabert opened this issue Dec 22, 2024 · 0 comments

Comments

@steabert
Copy link

The exported ES module has internal imports without .js extensions which causes it to fail.

To reproduce:

npm i
cd packages/react-icons
npm run build

node --import='./lib/index.js'

The import fails because chunk-0 is imported without .js extension, as are all other subsequent imports.

@steabert steabert changed the title ES module seems broken react-icons ES module seems broken Dec 22, 2024
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

No branches or pull requests

1 participant