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
This commit is contained in:
silverwind 2021-04-09 03:54:24 +02:00 committed by GitHub
parent 16e34025b4
commit 1ec4913add
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -95,6 +95,7 @@ module.exports = {
discardComments: {
removeAll: true,
},
colormin: false,
},
],
},