aboutsummaryrefslogtreecommitdiff
path: root/webpack.config.js
diff options
context:
space:
mode:
authorsilverwind2021-04-08 20:28:41 +0200
committerGitHub2021-04-08 19:28:41 +0100
commitb62bd8e7c0b54b6217abf67124c2a6cdd70be960 (patch)
tree420221536ef6bc705656c5b1bc43d2db40bb9f22 /webpack.config.js
parente8693eb328410d92b11e214d118eeca0e437f33c (diff)
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
Diffstat (limited to 'webpack.config.js')
-rw-r--r--webpack.config.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/webpack.config.js b/webpack.config.js
index aed3802af..53d553825 100644
--- a/webpack.config.js
+++ b/webpack.config.js
@@ -93,6 +93,7 @@ export default {
discardComments: {
removeAll: true,
},
+ colormin: false,
},
],
},