Repository navigation
Commit f27abc5
committed
perf: actually minify preflight and keyframes in minified output
Minified builds only whitespace-collapsed the @layer cw-base preflight
and @Keyframes blocks — the license comment and per-declaration spacing
survived, inflating every minified stylesheet. Both now run through a
proper block minifier (comments stripped, syntax-character whitespace
collapsed); the preflight alone shrinks by about a third.1 parent 807b74d commit f27abc5
1 file changed
Lines changed: 19 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1403 | 1403 | | |
1404 | 1404 | | |
1405 | 1405 | | |
| 1406 | + | |
| 1407 | + | |
| 1408 | + | |
| 1409 | + | |
| 1410 | + | |
| 1411 | + | |
| 1412 | + | |
| 1413 | + | |
| 1414 | + | |
| 1415 | + | |
| 1416 | + | |
| 1417 | + | |
| 1418 | + | |
| 1419 | + | |
| 1420 | + | |
| 1421 | + | |
| 1422 | + | |
1406 | 1423 | | |
1407 | 1424 | | |
1408 | 1425 | | |
| |||
2702 | 2719 | | |
2703 | 2720 | | |
2704 | 2721 | | |
2705 | | - | |
| 2722 | + | |
2706 | 2723 | | |
2707 | 2724 | | |
2708 | 2725 | | |
| |||
2725 | 2742 | | |
2726 | 2743 | | |
2727 | 2744 | | |
2728 | | - | |
| 2745 | + | |
2729 | 2746 | | |
2730 | 2747 | | |
2731 | 2748 | | |
| |||
0 commit comments