refactor: Replace postcss-purgecss import statement

This commit is contained in:
Thomas A. Christensen II 2023-10-08 22:55:06 -05:00
parent ad19e92efe
commit a17ade229a
Signed by: millironx
GPG key ID: 09335146883990B9

View file

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