The ignore option doesn't seem to be working for me.
I'm doing the following:
.pipe(plugins.uncss({
html: glob.sync('./**/*.{csh,h}tml'),
ignore: ['.active']
})
Can anyone help?
Try to use the regex form for your ignore
option:
.pipe(plugins.uncss({
html: glob.sync('./**/*.{csh,h}tml'),
ignore: ['/active/']
})