From 8fa957484fd2a9fc1bcb5047ce4db6d9a244db6a 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 d21ab1d830c4c..24c39819bfe12 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -95,6 +95,7 @@ module.exports = { discardComments: { removeAll: true, }, + colormin: false, }, ], },