chore: Remove PostCSS processing
This commit is contained in:
parent
e475ca560f
commit
12c55c504b
1 changed files with 0 additions and 13 deletions
|
@ -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],
|
|
||||||
};
|
|
||||||
}
|
|
Loading…
Reference in a new issue