Skip to content

Commit

Permalink
Fix postcss/purgecss commands
Browse files Browse the repository at this point in the history
  • Loading branch information
Spencer14420 committed Nov 19, 2024
1 parent c01836b commit 789378d
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
3 changes: 2 additions & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ bootstrap.bundle.min.js
bootstrap.min.css
script.js
bootstrap.css
tsconfig.json
tsconfig.json
bootstrap.css
10 changes: 5 additions & 5 deletions postcss.config.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
const purgecss = require('@fullhuman/postcss-purgecss')
const purgecss = require("@fullhuman/postcss-purgecss");

module.exports = {
plugins: [
purgecss({
content: ['./**/*.html']
})
]
}
content: ["./**/*.php"],
}),
],
};
2 changes: 1 addition & 1 deletion purgecss.config.js
Original file line number Diff line number Diff line change
@@ -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",
};

0 comments on commit 789378d

Please sign in to comment.