Skip to content

Commit

Permalink
ignore type errors in postcss.config
Browse files Browse the repository at this point in the history
  • Loading branch information
TheBlackbird14 committed May 27, 2024
1 parent b4381a2 commit 35150f4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions postcss.config.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
// eslint-disable-next-line no-undef
const IN_PRODUCTION = process.env.NODE_ENV === "production";

// eslint-disable-next-line no-undef
module.exports = {
plugins: [
IN_PRODUCTION &&
// eslint-disable-next-line no-undef
require("@fullhuman/postcss-purgecss")({
content: [`./public/**/*.html`, `./src/**/*.vue`],
defaultExtractor(content) {
Expand Down

0 comments on commit 35150f4

Please sign in to comment.