Skip to content

[vite:load-fallback] Could not load /__w/[repo-name]/[repo-name]/src/__vite-browser-external (imported by __vite-browser-external?commonjs-proxy): ENOENT: no such file or directory, open '/__w/[repo-name]/[repo-name]/src/__vite-browser-external' #17829

Closed Answered by GarmentMazen
GarmentMazen asked this question in Q&A
Discussion options

You must be logged in to vote

after many many hours, the issue was with vite-jsconfig-paths it plays well with esbuild in development but it didn't play well with rollup on production for an unknown reason to me atm ..
I fixed the issue by replicating my aliases from from jsconfig in vite.config

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@GarmentMazen
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by GarmentMazen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant