We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
I'm trying to prevent some files from being scanned by gulp-purgecss, but it does not seem to recognize the skippedContentGlobs option.
gulp-purgecss
skippedContentGlobs
This is the relevant configuration on my Gulp tasks:
.pipe(purgecss({ content: [ './**/*.php', './src/js/**/*.js' ], skippedContentGlobs: [ 'node_modules/**', 'components/**', 'pattern-library.php' ], safelist: [ /^carousel-item.*/, /collapsing/, /show/ ] }))
but it doesn't work, since the final CSS bundle still contains classes from pattern-library.php.
pattern-library.php
Am I doing something wrong? How can I correctly configure purgecss to exclude specific files?
The text was updated successfully, but these errors were encountered:
fix(gulp-purgecss): support skippedContentGlobs option #853
b72de77
No branches or pull requests
I'm trying to prevent some files from being scanned by
gulp-purgecss
, but it does not seem to recognize theskippedContentGlobs
option.This is the relevant configuration on my Gulp tasks:
but it doesn't work, since the final CSS bundle still contains classes from
pattern-library.php
.Am I doing something wrong? How can I correctly configure purgecss to exclude specific files?
The text was updated successfully, but these errors were encountered: