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
While parceljs bundler for example has its own command parcel watch for using an external server (like nodejs) for development, I cannot find out how to simply enable Vite to use my Node server.js file instead of its own. I have seen some pretty complicated code examples that have to be inserted into the server file, but I don't want to clutter server files with additional external code, especially in case my colleagues don't use Vite. If that separation of concern cannot be done simply I am ready to abandon Vite, in that case that would be a big drawback.
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.
Uh oh!
There was an error while loading. Please reload this page.
-
While parceljs bundler for example has its own command
parcel watchfor using an external server (like nodejs) for development, I cannot find out how to simply enable Vite to use my Node server.js file instead of its own. I have seen some pretty complicated code examples that have to be inserted into the server file, but I don't want to clutter server files with additional external code, especially in case my colleagues don't use Vite. If that separation of concern cannot be done simply I am ready to abandon Vite, in that case that would be a big drawback.Beta Was this translation helpful? Give feedback.
All reactions