1
0
mirror of https://github.com/Damillora/Yuika synced 2024-11-22 09:17:33 +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: [ content: [
'./**/*.hbs', './**/*.hbs',
'./assets/**/*.js', './assets/**/*.js',
'./assets/css/styles.css', // This file defines required styles for the Ghost editor
// etc. // etc.
], ],
whitelist: ['li'],
// Include any special characters you're using in this regular expression // Include any special characters you're using in this regular expression
defaultExtractor: content => content.match(/[\w-/:]+(?<!:)/g) || [] defaultExtractor: content => content.match(/[\w-/:]+(?<!:)/g) || []