From c8de2469d9a7e1d5fa0cda6c20f92362e17e94a6 Mon Sep 17 00:00:00 2001 From: Awilum Date: Thu, 20 Feb 2020 17:02:42 +0300 Subject: [PATCH] chore(default-theme): update TailwindExtractor for gulp-purgecss 2.0.6 --- site/themes/default/gulpfile.js | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) diff --git a/site/themes/default/gulpfile.js b/site/themes/default/gulpfile.js index a99cc586..ea08e318 100755 --- a/site/themes/default/gulpfile.js +++ b/site/themes/default/gulpfile.js @@ -1,16 +1,5 @@ const gulp = require('gulp'); const tailwindConfig = "tailwind.config.js"; -const mainCSS = "assets/src/styles.css"; - -/** - * Custom PurgeCSS Extractor - * https://github.com/FullHuman/purgecss - */ -class TailwindExtractor { - static extract(content) { - return content.match(/[\w-/:]+(? { + return content.match(/[\w-/:]+(?