-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(remix-dev/vite): bundle CSS from client entry #8143
Conversation
🦋 Changeset detectedLatest commit: 25a7e92 The changes in this PR will be included in the next version bump. This PR includes changesets to release 16 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Co-authored-by: Pedro Cattori <pcattori@gmail.com>
🤖 Hello there, We just published version Thanks! |
🤖 Hello there, We just published version Thanks! |
Without this fix, CSS from the client entry appears to work in dev (after a flash of unstyled content), but the styles are then missing in the production build.
This PR ensures that:
To test this, CSS imported from the client entry has been added to Vite CSS tests for both dev and build.