-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Use local user css cache for apply #7524
Merged
Merged
Commits on Feb 24, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 3dd521e - Browse repository at this point
Copy the full SHA 3dd521eView commit details -
Configuration menu - View commit details
-
Copy full SHA for d442ac5 - Browse repository at this point
Copy the full SHA d442ac5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 326bf53 - Browse repository at this point
Copy the full SHA 326bf53View commit details -
Rework apply to use local postcss root
We were storing user CSS in the context so we could use it with apply. The problem is that this CSS does not get updated on save unless it has a tailwind directive in it resulting in stale apply caches. This could result in either stale generation or errors about missing classes.
Configuration menu - View commit details
-
Copy full SHA for 8fccb99 - Browse repository at this point
Copy the full SHA 8fccb99View commit details -
Configuration menu - View commit details
-
Copy full SHA for a24e794 - Browse repository at this point
Copy the full SHA a24e794View commit details -
The previous method was very inefficient as PostCSS was recursively cloning the entire tree. We only care about cloning the node itself as we’re replacing its children. This is about 4x faster on large CSS blobs.
Configuration menu - View commit details
-
Copy full SHA for 89c4f68 - Browse repository at this point
Copy the full SHA 89c4f68View commit details
Commits on Feb 25, 2022
-
Configuration menu - View commit details
-
Copy full SHA for f5e37c6 - Browse repository at this point
Copy the full SHA f5e37c6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5302fc6 - Browse repository at this point
Copy the full SHA 5302fc6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 490e8bc - Browse repository at this point
Copy the full SHA 490e8bcView commit details -
Configuration menu - View commit details
-
Copy full SHA for a602a79 - Browse repository at this point
Copy the full SHA a602a79View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0b450fa - Browse repository at this point
Copy the full SHA 0b450faView commit details -
Configuration menu - View commit details
-
Copy full SHA for c78aa7b - Browse repository at this point
Copy the full SHA c78aa7bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 29bc320 - Browse repository at this point
Copy the full SHA 29bc320View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.