refactor: Replace postcss-purgecss import statement

This commit is contained in:
Thomas A. Christensen II 2023-10-08 22:55:06 -05:00
parent bd7e8234a2
commit 86f22d1abd

View file

@ -1,4 +1,4 @@
const purgecss = require("postcss-purgecss")({ const purgecss = require("@fullhuman/postcss-purgecss")({
content: ["./hugo_stats.json"], content: ["./hugo_stats.json"],
defaultExtractor: (content) => { defaultExtractor: (content) => {
let els = JSON.parse(content).htmlElements; let els = JSON.parse(content).htmlElements;