-
Notifications
You must be signed in to change notification settings - Fork 5
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
After updating tailwindcss to 3.3.1 this plugin caused an infinite build #31
Comments
The problem is in Maybe a quick fix would be to limit how many times run the while loop and stop |
Hi @remorses, thanks for creating an issue 🙏 I'll take a look into the cause of the infinite loop – perhaps we need to use an alternative method for checking whether a rule is already nested within the media query. I'll update the issue when I know more and hopefully we can find a solution beyond restriction the number of loop cycles. |
@remorses would you be able to provide an example project that exhibits this issue? |
Thank you for the quick reply 🙏 Here is a reproduction: https://stackblitz.com/edit/node-jzchab?file=package.json After you run |
With latest
tailwindcss@3.3.1
this package caused an infinite build time with 100% CPU usageThis may be a similar issue to #20
The text was updated successfully, but these errors were encountered: