From b62bd8e7c0b54b6217abf67124c2a6cdd70be960 Mon Sep 17 00:00:00 2001 From: silverwind Date: Thu, 8 Apr 2021 20:28:41 +0200 Subject: [PATCH] Disable cssnano's colormin plugin (#15347) 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 aed3802af8..53d5538250 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -93,6 +93,7 @@ export default { discardComments: { removeAll: true, }, + colormin: false, }, ], },