Open cschroeter opened 1 month ago
Thanks for reporting will check these issues!
I am having the same issue. I am trying to write Stories for my components library using Histoire which uses vite.js and the reported error is thrown. This basically prevents me from either writing Stories/Documentation or from using these icons.
through some debugging, I found that if the file node_modules/lucide-vue-next/dist/esm/lucide-vue-next.js
would be renamed to index.js
(node_modules/lucide-vue-next/dist/esm/index.js
) then it works just fine.
Package
Version
latest
Can you reproduce this in the latest version?
Browser
Operating system
Description
We're encountering an issue where the
lucide-vue-next
package seems not to be properly configured, resulting in module resolution errors. This issue has been observed when attempting to import the package, as shown in the error message below:Additionally, upon reviewing the
package.json
forlucide-vue-next
, numerous warnings and suggestions have been identified, which might be contributing to this problem. Here is a screenshot of the linting output:Could we look into improving the package setup to prevent such issues? Suggestions and contributions to resolve these warnings are also welcome.
Steps to reproduce
Go to https://publint.dev/lucide-vue-next@0.371.0 and check warnings.
Checklist