This commit is contained in:
fireworks88 2021-11-25 23:00:06 +01:00
parent 8a60427c6d
commit 90bc983a52

View file

@ -6,7 +6,8 @@ module.exports = (ctx) => ({
require('autoprefixer'),
require('@fullhuman/postcss-purgecss')({
content: [
path.resolve(__dirname, 'templates/**/*.html')
path.resolve(__dirname, 'templates/**/*.html'),
path.resolve(__dirname, 'templates/*.html')
],
defaultExtractor: content => content.match(/[A-Za-z0-9-_:/]+/g) || []
})