You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using Vite to build my storybook manager and bundle. All my css ends up in one 223kb css file. Using this plugin works fine in dev mode, but since everything is in one file in production, it gives the Reached maximum of 1000 pseudo states warning and quietly stops working for most of my stories. Why is this limitation there? Is there any plans on having a way of setting up the limit by yourself? This is breaking my chromatic builds.
The text was updated successfully, but these errors were encountered:
The limit is essentially arbitrary. It's intended to avoid crashing your browser when you make a mistake. If you legitimately have >1000 rules then I think it's fair to make the limit configurable. Happy to review a PR for that.
I'm using Vite to build my storybook manager and bundle. All my css ends up in one 223kb css file. Using this plugin works fine in dev mode, but since everything is in one file in production, it gives the
Reached maximum of 1000 pseudo states
warning and quietly stops working for most of my stories. Why is this limitation there? Is there any plans on having a way of setting up the limit by yourself? This is breaking my chromatic builds.The text was updated successfully, but these errors were encountered: