From 12c55c504b250bbcee3c1989cab555d0f995c5c6 Mon Sep 17 00:00:00 2001 From: "Thomas A. Christensen II" <25492070+MillironX@users.noreply.github.com> Date: Sun, 1 Dec 2024 19:46:43 -0700 Subject: [PATCH] chore: Remove PostCSS processing --- postcss.config.js | 13 ------------- 1 file changed, 13 deletions(-) delete mode 100644 postcss.config.js diff --git a/postcss.config.js b/postcss.config.js deleted file mode 100644 index c64d027..0000000 --- a/postcss.config.js +++ /dev/null @@ -1,13 +0,0 @@ -const purgecss = require("@fullhuman/postcss-purgecss")({ - content: ["./hugo_stats.json"], - defaultExtractor: (content) => { - let els = JSON.parse(content).htmlElements; - return els.tags.concat(els.classes, els.ids); - }, -}); - -if (process.env.HUGO_ENVIRONMENT === "production") { - module.exports = { - plugins: [purgecss], - }; -}