vite application, index.html unresolved-import #62
-
|
hi! I'm trying fallow, but I'm getting: in a fresh created vite react app (with |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
Thanks for reporting this! This was a bug in how fallow resolved root-relative paths (like This is fixed in v2.17.0, which was just released. Upgrade with: npm install -g fallow@2.17.0After upgrading, the false unresolved-import report for |
Beta Was this translation helpful? Give feedback.
Thanks for reporting this! This was a bug in how fallow resolved root-relative paths (like
/src/main.tsx) from HTML files. Instead of treating them as web-convention paths relative to the project root (which is how Vite, Parcel, etc. handle them), fallow was treating them as absolute filesystem paths.This is fixed in v2.17.0, which was just released. Upgrade with:
After upgrading, the false unresolved-import report for
/src/main.tsxinindex.htmlshould be gone. Let me know if you run into anything else!