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], - }; -}