Skip to content

Commit

Permalink
Chore: Postcss config clean up (#4729)
Browse files Browse the repository at this point in the history
Because:
- I've been looking at other Postcss configurations for similar apps, we
don't need some of our plugins and can probably simplify.

This commit
- Removes postcss-preset-env
- Removes postcss-cli - we aren't using this anywhere
- Removes postcss-flexbugs-fixes - we might need this again, but I want
to see if any issues are reported.
  • Loading branch information
KevinMulhern authored Aug 9, 2024
1 parent d2693f7 commit 8085a75
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 815 deletions.
3 changes: 0 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,7 @@
"flatpickr": "^4.6.13",
"mermaid": "^10.9.1",
"postcss": "^8.4.40",
"postcss-cli": "^11.0.0",
"postcss-flexbugs-fixes": "^5.0.2",
"postcss-import": "^16.1.0",
"postcss-preset-env": "^10.0.0",
"prismjs": "^1.29.0",
"regenerator-runtime": "^0.14.1",
"sortablejs": "^1.15.0",
Expand Down
8 changes: 1 addition & 7 deletions postcss.config.js
Original file line number Diff line number Diff line change
@@ -1,14 +1,8 @@
module.exports = {
plugins: [
require('postcss-import'),
require('postcss-flexbugs-fixes'),
require("tailwindcss/nesting"),
require("tailwindcss"),
require('postcss-preset-env')({
autoprefixer: {
flexbox: 'no-2009'
},
stage: 3
}),
require("autoprefixer"),
]
}
Loading

0 comments on commit 8085a75

Please sign in to comment.