-
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
feat(remix-dev): add opt-in Vanilla Extract cache #5735
Conversation
🦋 Changeset detectedLatest commit: 53a7a10 The changes in this PR will be included in the next version bump. This PR includes changesets to release 18 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 |
@@ -1,219 +1,30 @@ | |||
import { dirname, join, extname } from "path"; | |||
import type { IdentifierOption } from "@vanilla-extract/integration"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Git didn't track this one very well — the original contents of this file have been moved to vanillaExtractPluginUncached.ts
. vanillaExtractPlugin.ts
now just switches between the cached and uncached plugins since their implementations are so different.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor feedback on the tests, otherwise 👍
🤖 Hello there, We just published version Thanks! |
Closes: #5524
For now this is opt-in since the cache is powered by a brand new Vanilla Extract compiler that uses vite-node. Since this is a large architectural change, we'll want to ensure it's working correctly in the wild before making it the default. As a result, I've also left this option undocumented until we get some initial feedback.
Testing Strategy:
All tests that exercise the Vanilla Extract integration are now also being run against the new compiler.