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
When building for production, remix's vite plugin generates server and client bundles.
I assume client one will include dependencies as well, but this may not be the case for server dependencies.
If server dependencies are not bundled, part of node_modules will have to be added to the docker images, but making sure the client ones are not, as they will be wasting space.
If this assumption is correct, client dependencies should be defined as dev dependencies, and stripped out of the final image.
The text was updated successfully, but these errors were encountered:
When building for production, remix's vite plugin generates server and client bundles.
I assume client one will include dependencies as well, but this may not be the case for server dependencies.
If server dependencies are not bundled, part of node_modules will have to be added to the docker images, but making sure the client ones are not, as they will be wasting space.
If this assumption is correct, client dependencies should be defined as dev dependencies, and stripped out of the final image.
The text was updated successfully, but these errors were encountered: