-
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
Remove IE11 compatibility code and target
feature
#2571
Conversation
A lot of the projects I work on need IE11 support because our customer's customers need it. That won't change any time soon. Being stuck on Tailwind 1.0 will be a bummer when there's already a version 2.0 (and later 3.0, 4.0, 5.0...). I think most companies using Tailwind for B2B software are in the same boat. |
What's wrong with Tailwind 1.0 for you currently that will push you to need 2.0? |
I don't necessarily need 2.0, 1.0 already works great. I'm just worried that being a major version behind is going to be a hassle, because it usually is. I can't really think of any specific problems, but being behind a major version is never a good thing. I think I'd much rather be on the latest version, but have some core plugins disabled. |
I was eager to use the |
There is the workaround provided here at least https://tailwindcss.com/docs/controlling-file-size#setting-up-purge-css-manually. |
This PR (targeting v2.0) drops any deliberate compatibility with IE11. Anyone who still needs IE11 support can use v1.x, which is still awesome (and the only version that even exists currently! 😋 )
This includes:
target
feature, which was always semi-experimental and never documentedrgba
values, no fallback duplicate declaration in hex)In a future PR I'll be updating our preflight styles to remove IE 10/11 fixes.