Performance
- upgrade svelte-prune to 0.10.1 (2.8–16.1% smaller CSS and up to 14.7% smaller JS from
optimizeComponentsandpropAwarein the golden apps)
Fixes
- parse a snippet type parameter with an arrow function type, as
{#snippet f<T extends () => void>(v: T)}(svelte-ast 0.12.0, sveast's new name)
svelte-prune now keeps an array a $: rebinds known, so Carbon 0.114's MultiSelect stops keeping TagSet, Modal and Search for the default selectionDisplay. It also lets Carbon's contexts flow to the components that read them again, and evaluates includes(), some(), Math.round() and the like. Golden app full variant on carbon-components-svelte 0.114.3:
| Golden app | CSS v0.11.61 | CSS v0.11.62 | JS v0.11.61 | JS v0.11.62 |
|---|---|---|---|---|
admin-dashboard
| 121.27 kB | 117.14 kB | 209.38 kB | 208.81 kB |
signup-wizard
| 81.65 kB | 81.65 kB | 179.90 kB | 179.74 kB |
docs-site
| 73.74 kB | 71.69 kB | 149.51 kB | 143.75 kB |
product-catalog
| 133.42 kB | 111.94 kB | 262.30 kB | 223.78 kB |