From 789378d96b30c46bf438b61b5aaedc5430f0a991 Mon Sep 17 00:00:00 2001 From: Spencer14420 <67592325+Spencer14420@users.noreply.github.com> Date: Tue, 19 Nov 2024 11:03:52 -0500 Subject: [PATCH] Fix postcss/purgecss commands --- .prettierignore | 3 ++- postcss.config.js | 10 +++++----- purgecss.config.js | 2 +- 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/.prettierignore b/.prettierignore index 9b6e86d..5ad3c2f 100644 --- a/.prettierignore +++ b/.prettierignore @@ -3,4 +3,5 @@ bootstrap.bundle.min.js bootstrap.min.css script.js bootstrap.css -tsconfig.json \ No newline at end of file +tsconfig.json +bootstrap.css \ No newline at end of file diff --git a/postcss.config.js b/postcss.config.js index f872a36..30aed05 100644 --- a/postcss.config.js +++ b/postcss.config.js @@ -1,9 +1,9 @@ -const purgecss = require('@fullhuman/postcss-purgecss') +const purgecss = require("@fullhuman/postcss-purgecss"); module.exports = { plugins: [ purgecss({ - content: ['./**/*.html'] - }) - ] -} + content: ["./**/*.php"], + }), + ], +}; diff --git a/purgecss.config.js b/purgecss.config.js index 22ce700..505d8e7 100644 --- a/purgecss.config.js +++ b/purgecss.config.js @@ -1,5 +1,5 @@ module.exports = { - content: ["index.html", "src/**/*.js", "assets/**/*.js", "dist/**/*.js"], + content: ["index.php", "src/**/*.js", "assets/**/*.js", "dist/**/*.js"], css: ["assets/bootstrap.min.css"], output: "dist/css/bootstrap.css", };