Skip to content

Is there any way to hoist base rules to the top of the stylesheet in the Tailwind plugin system? #7729

Discussion options

You must be logged in to vote

Currently not I'm afraid but this is a good point! We could probably add a step that sorts @import rules to the top of the file automatically so you don't have to think about this.

You could write a pretty simple PostCSS plugin to handle this though in the mean time, just make sure it runs after Tailwind 👍

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@jamespantalones
Comment options

@MattJonesSiteglide
Comment options

Answer selected by jamespantalones
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
3 participants