From 4ae5de5a3a65e76649945fb4046e60900e8c5fbb Mon Sep 17 00:00:00 2001 From: Tim Neutkens Date: Wed, 20 Aug 2025 09:26:32 +0200 Subject: [PATCH] Only apply autoprefixer in production (#23168) --- apps/web/postcss.config.js | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/apps/web/postcss.config.js b/apps/web/postcss.config.js index 12a703d900..1b7eb34f09 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;