-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
[JIT] Disabling opacity core plugins doesn't change output of color plugins #4071
Comments
I have the same problem. I need to continue to support IE11, which does not support CSS variables. I am able to use Tailwind 2 with the opacity utils disabled (and avoiding a few other utils that use CSS variables), but cannot use JIT mode because there is currently no way to disable the opacity utils. |
Hey! You actually can disable core plugins, it's just that disabling Generally I am hesitant to make changes that in any way indicate we are attempting to support IE11 because we definitely don't and will not ever support it, but for this specific issue there is an open PR here which I plan to merge if only to reduce the file size: You'll run into this same problem in other spots though, like even |
Thank you Adam! This is exactly what I was hoping for. I understand that v2 does not support IE11, so I have no other expectations for workarounds for IE11. |
Thanks Adam, looking forward to that PR! Right now I'm enabling JIT only locally so that production builds output HEX values that will work in HTML email. The |
This is working as expected on master now, can check the canary build to test it out:
Will be available proper in v2.2 👍🏻 |
Thank you Adam! I'm using Vue CLI so I will need to wait for the proper release PostCSS 7 compat build to check it out. |
What version of Tailwind CSS are you using?
v2.1.1
What build tool (or framework if it abstracts the build tool) are you using?
Maizzle v3.3.0
What version of Node.js are you using?
v14.15.1
What browser are you using?
Chrome
What operating system are you using?
Windows 10
Reproduction repository
https://github.com/maizzle/maizzle
Describe your issue
When enabling JIT, you cannot disable core plugins:
Result:
Expected:
Note I've only tested with the opacity plugins.
The text was updated successfully, but these errors were encountered: