[V3] Build Time Imports and CSS Layers #18116
Unanswered
stevegreco
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have an internal component library that has its own CSS. Up until now we have been using build time imports to inject our CSS between the components and utilities. This has worked great and makes sure that everything is loaded in the correct order.
The main problem here, is that
./custom-components.css
now utilizes layers internally, this seems to be causing huge problems with Tailwind. Is there any way to accomplish this? This seems to not work at all and actually ends up breaking all of the CSS.I think the root problem here is actually
postcss-import
which seems to not support this because it will move the imports above the@layer
definition.Beta Was this translation helpful? Give feedback.
All reactions