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

latest releases: v0.11.58, v0.11.57, v0.11.56...
one month ago

Breaking Changes

  • remove the bundled static component index; CSS tools always index the project's installed carbon-components-svelte
  • remove experimental.liveIndex from optimizeImports, optimizeCss, OptimizeCssPlugin, optimizeCarbonCss, and the CLI --live-index flag
  • optimizeImports: read import paths from the installed Carbon barrel (named exports stay named)

Fixes

  • optimizeCss: prune CSS on vite build --watch rebuilds
  • optimizeCss: keep Plex Sans italic faces for <Text italic>
  • optimizeCss: leave CSS unpruned when the live index can't be built
  • optimizeImports: resolve Carbon from each file's directory
  • index: resolve carbon-components-svelte under Yarn Plug'n'Play
  • index: don't cache the component index for a linked Carbon checkout
  • index: resolve svelte/compiler from the consuming project first
  • index: split string literals into individual Carbon classes
  • index: index class literals in .js modules components import
  • index: carry module-script classes to components that import them

Performance

  • remove the bundled component index (~56KB → ~33KB shared dist chunk)

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

NewReleases is sending notifications on new releases.