From afe274a61578b7e0ba6dcf1382b5270e911260fd Mon Sep 17 00:00:00 2001 From: fireworks88 Date: Thu, 25 Nov 2021 23:00:06 +0100 Subject: [PATCH] try this --- postcss.config.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/postcss.config.js b/postcss.config.js index ace22f46a4..156978900b 100644 --- a/postcss.config.js +++ b/postcss.config.js @@ -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) || [] })