mirror of
https://github.com/tabler/tabler.git
synced 2025-12-21 17:34:25 +04:00
purge css fix
This commit is contained in:
@@ -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 => {
|
||||
|
||||
Reference in New Issue
Block a user