From 679ce7677c55b3c74649ec152de5009730e24b0b Mon Sep 17 00:00:00 2001 From: silverwind Date: Thu, 8 Apr 2021 19:04:22 +0200 Subject: [PATCH] Disable cssnano's colormin plugin 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 aed3802af8999..53d5538250497 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -93,6 +93,7 @@ export default { discardComments: { removeAll: true, }, + colormin: false, }, ], },