-
Notifications
You must be signed in to change notification settings - Fork 651
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
Tailwindcss takes a long time to compile #2308
Comments
Wondering if transitioning to UnoCSS could give us better results? |
I benchmarked all the various libraries when writing the article. UnoCSS takes the same time as tailwindcss. We need to create styles also server side. |
Although fresh sort-of went the tailwindcss route already, it would be cool to (officially) have unocss as an alternative as well, by landing #1966 which I've been using (unofficialy) already for a while and should be ready 👍🏼 |
@miguelrk Who's going to maintain the UnoCSS plugin? If we merge it than the burden falls on me. |
Good point, totally understandable @marvinhagemeister... in case it helps someone, I maintain a fork 👍🏼 . In any case, eager to see improvements in the HMR space! |
Closing, as I've been sporadically in touch with the tailwindcss team and they made great strides in improving compilation performance. Once their new major version is out I'd expect it to be noticeably faster. |
Mostly making this issue as a note for me to investigate a bit. Looked at the tailwind internals a while back here https://marvinh.dev/blog/speeding-up-javascript-ecosystem-part-8/ . So there is lots of room to speed it up.
We might also speed the UX up greatly by adding proper HMR support.
The text was updated successfully, but these errors were encountered: