提交 f8eaddf4 编写于 作者: C codecalm

purge css fix

上级 069c0ef9
......@@ -276,8 +276,13 @@ gulp.task('build-critical', (cb) => {
critical({
base: 'demo/',
inline: true,
height: 1200,
css: 'demo/dist/{libs,css}/**/*.css'
css: ['demo/dist/css/tabler.css'],
ignore: {
atrule: ['@font-face', '@import'],
decl: (node, value) => {
/url\(/.test(value)
},
},
})
)
.on('error', err => {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册