Im migrating my react spa to vite from react-scripts, it uses firebase authentication, project made with --template react-swc-ts.
the applications runs fine with pnpm dev. but eslint and vite build complains about unable to resolve it when it is in fact imported.
see image, you can see line 14 it was able to resolve it but further down it isnt. very baffling because i havent got this issue in my react-scripts project nor vite dev is having this issue.
Im migrating my react spa to vite from react-scripts, it uses firebase authentication, project made with --template react-swc-ts.
the applications runs fine with pnpm dev. but eslint and vite build complains about unable to resolve it when it is in fact imported.
see image, you can see line 14 it was able to resolve it but further down it isnt. very baffling because i havent got this issue in my react-scripts project nor vite dev is having this issue.
package.json