Fixes
optimizeCss: leave a CSS asset with nothing to prune as it isoptimizeCss: drop only Carbon's Plex faces, quoted or notoptimizeComponents: catch namespace imports; don't treat data files as Carbon importersoptimizeComponents: keep the styles of re-exported and namespace-imported components (CLI)- webpack/Rspack: run the plugins when
modeis unset - webpack/Rspack: forget a closed compiler's optimizer
- analyzer: open
propAware.excludeat every site of the component, including Carbon's own - analyzer: count an app component's own
<svelte:self>sites - analyzer: treat objects handed on by a destructured
{#each}or a slot as mutable - analyzer: don't decide
==with an object, or confuse literal keys
Performance
optimizeComponents: resolve each file's real path once per build (~92% faster module checks)- analyzer: walk a queued component once; explain unknowns lazily
- analyzer: skip the context and dynamic-import scans when they can't match