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
The Remix Vite plugin doesn't install any global Node polyfills so you'll need to install them yourself if you were relying on remix-serve to provide them. The easiest way to do this is by calling installGlobals at the top of your Vite config.
Currently the official Vite template is missing the recommendeed installGlobals() in vite.config.ts, but it would be cool if you could implement this in the vite:dev command itself instead.
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.
-
Currently the official Vite template is missing the recommendeed
installGlobals()
invite.config.ts
, but it would be cool if you could implement this in thevite:dev
command itself instead.Is that possible?
Beta Was this translation helpful? Give feedback.
All reactions