Skip to content

Commit 4ae5de5

Browse files
authored
Only apply autoprefixer in production (calcom#23168)
1 parent e6959f3 commit 4ae5de5

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

apps/web/postcss.config.js

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
1-
module.exports = {
1+
const config = {
22
plugins: {
33
tailwindcss: {},
4-
autoprefixer: {},
54
},
65
};
6+
7+
if (process.env.NODE_ENV === "production") {
8+
config.plugins.autoprefixer = {};
9+
}
10+
11+
module.exports = config;

0 commit comments

Comments
 (0)