Skip to content

Add PurgeCSS comments to tailwind.css #1551

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

Closed
pspeter3 opened this issue Apr 9, 2020 · 2 comments
Closed

Add PurgeCSS comments to tailwind.css #1551

pspeter3 opened this issue Apr 9, 2020 · 2 comments

Comments

@pspeter3
Copy link

pspeter3 commented Apr 9, 2020

I often end up having a single css file for Tailwind projects with the below contents. It would be nice if the tailwind.css file could include those comments by default. That way I can just import "tailwind/tailwind.css" in my code and not need the CSS file.

/* purgecss start ignore */
@tailwind  base;
@tailwind  components;
/* purgecss end ignore */

@tailwind  utilities;
pspeter3 added a commit to pspeter3/tailwindcss that referenced this issue Apr 14, 2020
Adds the comments to Tailwind per tailwindlabs#1551.
@taylorbryant
Copy link
Contributor

taylorbryant commented Apr 28, 2020

#1639 integrates PurgeCSS directly into Tailwind

@pspeter3
Copy link
Author

Yeah, I think this is made redundant by #1639

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

No branches or pull requests

2 participants