Skip to content

Commit

Permalink
⚡️ perf: production level nano css
Browse files Browse the repository at this point in the history
  • Loading branch information
d3v1l0n committed Dec 23, 2024
1 parent 0a6ad85 commit 59f12ba
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions postcss.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,12 @@ export default {
plugins: {
tailwindcss: {},
autoprefixer: {},
...(process.env.NODE_ENV === 'production'
? {
cssnano: {
preset: 'default',
},
}
: {}),
},
};

0 comments on commit 59f12ba

Please sign in to comment.