use cssnano for CSS compression in production

This commit is contained in:
2024-12-31 21:17:27 -06:00
parent 697a6a7a18
commit 4ba3560749
3 changed files with 594 additions and 0 deletions
+1
View File
@@ -2,5 +2,6 @@ module.exports = {
plugins: {
tailwindcss: {},
autoprefixer: {},
...(process.env.NODE_ENV === "production" ? { cssnano: {} } : {}),
},
};