-
Notifications
You must be signed in to change notification settings - Fork 12.4k
Open
Labels
Description
Have you checked that your issue isn't already filed?
- I read through FAQ and searched through the past issues, none of which addressed my issue.
- Yes, I have checked that this issue isn't already filed.
Bug description
PurgeCSS installs and runs, but doesn't do anything
How to reproduce the bug
This is already happening with your repo. Here is a screenshot from your deploy.yml workflow run. PurgeCSS is empty. I didn't notice at first, but I modeled my own Jekyll site based on al-folio where I realized that PurgeCSS is not working.
Error messages and logs
The error message you got, with the full traceback if available. Please paste it between these triple backticks.
What operating system are you using?
Windows, Linux
Where are you seeing the problem on?
Deployed site
More info
After multiple debugging I have determined that it's not using the config properly at all. My solution is to inline the config when running purgeCSS.
purgecss --content './_site/**/*.html' './_site/**/*.js' --css './_site/assets/styles/*.css' --output './_site/assets/styles/'