Skip to content
Discussion options

You must be logged in to vote

I wasn't using any of the classes I was adding into my theme, when tailwindcss-cli compiles the css file it won't include unused classes, this is to make the smallest bundle possible.

Once I started using the classes in my html files and retried it was all ok.

From the docs:

Tailwind CSS is incredibly performance focused and aims to produce the smallest CSS file possible by only generating the CSS you are actually using in your project.

Replies: 2 comments 2 replies

Comment options

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

@menecio
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by menecio
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #8829 on July 11, 2022 14:51.