[gitea] Remove lightningcss (#29070)

Remove lightningcss and minify with esbuild again. The size of output
CSS will increase by around 1.4%, but I think it's worth it to allow
building gitea in more cases like the one in the linked issue. We can
reconsider once lightningcss becomes more stable.

Fixes: https://github.com/go-gitea/gitea/issues/29058
(cherry picked from commit 5849d4fde347cd1e47f2243b3239724c73b1261d)
This commit is contained in:
silverwind 2024-02-07 03:17:59 +01:00 committed by Earl Warren
parent a01777fd21
commit 75937b5784
No known key found for this signature in database
GPG key ID: 0579CB2928A78A00
3 changed files with 37 additions and 277 deletions

View file

@ -29,7 +29,6 @@
"jquery": "3.7.1",
"katex": "0.16.9",
"license-checker-webpack-plugin": "0.2.1",
"lightningcss-loader": "2.1.0",
"mermaid": "10.7.0",
"mini-css-extract-plugin": "2.8.0",
"minimatch": "9.0.3",