Describe the bug
astro-purgeCSS does not remove unused SCSS classes
To Reproduce
.astro
filecustom.scss
file.scss
files in itcustom.scss
file in index.astro
npx astro build
11:23:06 [astro-purgecss] 📦 Running in 'static' mode
No files found from the passed PurgeCSS option 'content'.
11:23:06 [astro-purgecss] ℹ️ No CSS files found to process
Expected behavior
I expected unused classes to be removed
Additional context
I am using Bootstrap. I customise the components using SCSS in the custom.scss
file, I then import this file in index.astro
. I run npx run build
but unused classes don't get removed
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too