From 1ec4913addf512de5cfad7a1a7079a7443aadde8 Mon Sep 17 00:00:00 2001 From: silverwind Date: Fri, 9 Apr 2021 03:54:24 +0200 Subject: [PATCH] Disable cssnano's colormin plugin (#15348) It produces odd rgba values which also seem to cause issues in monaco's color parser where the scoll shadow went red for some reason. Regression by: https://github.com/go-gitea/gitea/pull/15333 --- webpack.config.js | 1 + 1 file changed, 1 insertion(+) diff --git a/webpack.config.js b/webpack.config.js index d21ab1d830..24c39819bf 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -95,6 +95,7 @@ module.exports = { discardComments: { removeAll: true, }, + colormin: false, }, ], },