-
-
Notifications
You must be signed in to change notification settings - Fork 244
Closed
Milestone
Description
I'm trying to prevent some files from being scanned by gulp-purgecss, but it does not seem to recognize the skippedContentGlobs option.
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.
Am I doing something wrong? How can I correctly configure purgecss to exclude specific files?
Metadata
Metadata
Assignees
Labels
No labels