-
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
Embed JIT engine directly into Tailwind #3905
Conversation
Migrating to visitor API in 5.0.2 breaks a lot of things.
Codecov Report
@@ Coverage Diff @@
## master #3905 +/- ##
==========================================
- Coverage 93.34% 86.77% -6.58%
==========================================
Files 178 311 +133
Lines 1849 4235 +2386
Branches 332 788 +456
==========================================
+ Hits 1726 3675 +1949
- Misses 105 485 +380
- Partials 18 75 +57
Continue to review full report at Codecov.
|
How would this be implemented into something like a page builder? For example, the builder uses a full tailwind CSS file and on saving it would prune the CSS file in a certain subdirectory / path. Would it be easier to generate a separate config in each subdirectory and run the compiler over that instead? |
This PR takes the @tailwindcss/jit project and embeds it directly into Tailwind itself behind a new configuration option:
This feature is still in preview/experimental and is not subject to semver as we continue to work out the kinks.