github carbon-design-system/carbon-preprocess-svelte v0.11.51

latest releases: v0.14.4, v0.14.3, v0.14.2...
one month ago

Fixes

  • optimizeCss: leave a CSS asset with nothing to prune as it is
  • optimizeCss: drop only Carbon's Plex faces, quoted or not
  • optimizeComponents: catch namespace imports; don't treat data files as Carbon importers
  • optimizeComponents: keep the styles of re-exported and namespace-imported components (CLI)
  • webpack/Rspack: run the plugins when mode is unset
  • webpack/Rspack: forget a closed compiler's optimizer
  • analyzer: open propAware.exclude at 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

Don't miss a new carbon-preprocess-svelte release

NewReleases is sending notifications on new releases.