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
I'm using vite in a monorepo setup and my model layer includes both firebase and firebase-admin. The latter only works in node environments not in the browser. I'd like to ideally ask Vite to ignore certain files when running (I've already got a conditional if statement which means no node dependant code is actually called when running in the browser).
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I'm using vite in a monorepo setup and my model layer includes both firebase and firebase-admin. The latter only works in node environments not in the browser. I'd like to ideally ask Vite to ignore certain files when running (I've already got a conditional if statement which means no node dependant code is actually called when running in the browser).
Beta Was this translation helpful? Give feedback.
All reactions