Skip to content

Scheduling infrastructure for absolutely everyone.

Only apply autoprefixer in production (#23168)

Tim Neutkens4ae5de5a3a65
diff --git a/apps/web/postcss.config.js b/apps/web/postcss.config.js
index 12a703d900d..1b7eb34f09b 100644
--- a/apps/web/postcss.config.js
+++ b/apps/web/postcss.config.js
@@ -1,6 +1,11 @@
-module.exports = {
+const config = {
plugins: {
tailwindcss: {},
- autoprefixer: {},
},
};
+
+if (process.env.NODE_ENV === "production") {
+ config.plugins.autoprefixer = {};
+}
+
+module.exports = config;