You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
From their discussions, it seems the problem is that the Wouter's package.json does not have a main entry. I confirmed that adding "main": "esm/index.js", to the Wouter package.json resolved this error.
Is this something you would be willing to address? If so, I'm happy to make a PR.
Otherwise, I can simply ignore the error, but it might be something that others come across as well.
The text was updated successfully, but these errors were encountered:
Hello! Thanks for Wouter, I love using it.
I was migrating to Wouter 3 and noticed I had a relatively minor error being reported from an eslint rule
import/no-unresolved
:This seems to be related to this issue: import-js/eslint-plugin-import#2132
From their discussions, it seems the problem is that the Wouter's
package.json
does not have amain
entry. I confirmed that adding"main": "esm/index.js",
to the Wouterpackage.json
resolved this error.Is this something you would be willing to address? If so, I'm happy to make a PR.
Otherwise, I can simply ignore the error, but it might be something that others come across as well.
The text was updated successfully, but these errors were encountered: