perf: optimize bundle size and add build optimizations
All checks were successful
CI / update (push) Successful in 1m23s
All checks were successful
CI / update (push) Successful in 1m23s
- Move HTML stripping to server-side to remove cheerio from client bundle (247KB reduction) - Add terser minification with console/debugger removal - Enable manual code chunking for chart.js and auth libraries - Convert TTF fonts to WOFF2 format (~900KB savings) - Enable brotli/gzip precompression in adapter - Update CSS to prefer WOFF2 with TTF fallback
This commit is contained in:
@@ -3,14 +3,16 @@
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-display: swap;
|
||||
src: url(/fonts/crosses.ttf);
|
||||
src: url(/fonts/crosses.woff2) format('woff2'),
|
||||
url(/fonts/crosses.ttf) format('truetype');
|
||||
}
|
||||
@font-face {
|
||||
font-family: 'LibertineMinimal';
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-display: swap;
|
||||
src: url(/fonts/LinLibertine_minimal.ttf);
|
||||
src: url(/fonts/LinLibertine_minimal.woff2) format('woff2'),
|
||||
url(/fonts/LinLibertine_minimal.ttf) format('truetype');
|
||||
}
|
||||
.sbeads{
|
||||
fill: var(--nord10);
|
||||
|
||||
Reference in New Issue
Block a user