1
0
mirror of https://github.com/Damillora/Yuika synced 2024-11-21 16:57:32 +00:00

Restore some CSS class missing because of being purged

This commit is contained in:
Damillora 2019-11-09 19:21:16 +07:00
parent d72152c45b
commit e9a0de562a

View File

@ -13,9 +13,9 @@ const purgecss = require('@fullhuman/postcss-purgecss')({
content: [
'./**/*.hbs',
'./assets/**/*.js',
'./assets/css/styles.css', // This file defines required styles for the Ghost editor
// etc.
],
whitelist: ['li'],
// Include any special characters you're using in this regular expression
defaultExtractor: content => content.match(/[\w-/:]+(?<!:)/g) || []