diff options
author | silverwind <me@silverwind.io> | 2023-07-07 20:28:48 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-07 18:28:48 +0000 |
commit | 811fc9d49c7f2ef128780d9b1a8dac31831f1f7b (patch) | |
tree | 0d51ec899026deb2acb6a131c709acae755b60f3 /models/project | |
parent | 3780795b938c8915736d73c416e2a8198920c3de (diff) | |
download | gitea-811fc9d49c7f2ef128780d9b1a8dac31831f1f7b.tar.gz gitea-811fc9d49c7f2ef128780d9b1a8dac31831f1f7b.zip |
Minify CSS with Lightning CSS (#25754)
Replace esbuild's rudimentary CSS minifier with [Lightning
CSS](https://github.com/parcel-bundler/lightningcss), which results in
around 4% smaller CSS bundle size, index.css goes from 608K to 584K.
The module is quite new but has active use in the Parcel bundler, and as
of yesterday is also under experimental support in Vite, so I trust it
that bugs will be sorted out quickly.
Before: `assets by path css/*.css 959 KiB`
After: `assets by path css/*.css 933 KiB`
I did give this a cursory test and everything seems to be in order.
Diffstat (limited to 'models/project')
0 files changed, 0 insertions, 0 deletions