gpt4 book ai didi

javascript - Gulp-uncss 忽略选项

转载 作者:行者123 更新时间:2023-11-28 15:29:22 25 4
gpt4 key购买 nike

忽略选项似乎对我不起作用。

我正在执行以下操作:

    .pipe(plugins.uncss({
html: glob.sync('./**/*.{csh,h}tml'),
ignore: ['.active']
})

有人可以帮忙吗?

最佳答案

尝试使用正则表达式形式作为ignore选项:

.pipe(plugins.uncss({
html: glob.sync('./**/*.{csh,h}tml'),
ignore: ['/active/']
})

关于javascript - Gulp-uncss 忽略选项,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27948090/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com