Skip to content
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

chore: silence tailwind purge css error #20

Merged
merged 1 commit into from
May 24, 2020

Conversation

smeijer
Copy link
Member

@smeijer smeijer commented May 24, 2020

Because we are using a custom PostCSS config, tailwind was logging warnings during build:

⚠️ Tailwind is not purging unused styles because no template paths have been provided.
If you have manually configured PurgeCSS outside of Tailwind or are deliberately not
removing unused styles, set purge: false in your Tailwind config file to silence
this warning.

 https://tailwindcss.com/docs/controlling-file-size/#removing-unused-css

I've done exactly that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant