Skip to content

Releases: carbon-design-system/carbon-preprocess-svelte

v0.11.10

19 Jan 21:43
Compare
Choose a tag to compare

Fixes

  • optimizeCss: update component index to include nested component selectors (196f162, #77)

v0.11.9

09 Dec 20:55
Compare
Choose a tag to compare

Features

Fixes

  • optimizeImports: append line break to optimized path (10e330e)

v0.11.8

30 Nov 18:20
Compare
Choose a tag to compare

Fixes

  • de-dupe selectors in component index (a6cd320)
  • preserve comments in TypeScript definitions (49df4d1)

v0.11.7

18 Sep 21:39
Compare
Choose a tag to compare

Fixes

  • fix OptimizeCssPlugin to convert buffer to string (9f83cdf)
  • patch postcss and postcss-discard-empty dependencies (49e320b, 38ab7a4)

v0.11.6

20 Aug 14:51
Compare
Choose a tag to compare

Fixes

  • remove code comments from transpiled code (3d2bf48)

v0.11.5

29 Jul 20:47
Compare
Choose a tag to compare

Fixes

  • omit pretty printing component index to reduce package size (fccaad1, #67)

v0.11.4

28 Jul 18:04
Compare
Choose a tag to compare

Fixes

  • optimizeCss: do not remove custom @font-face rules if preserveAllIBMFonts is false (6157e1a, #66)

v0.11.3

30 Apr 03:58
Compare
Choose a tag to compare

Fixes

  • optimizeImports: use walk from estree-walker directly for Svelte 5 compatibility (797969d, #62)

One of the breaking changes in Svelte 5 is that it no longer exports walk from svelte/compiler. walk is used by carbon-preprocess-svelte to traverse the AST to optimize Carbon-related imports at compile time. The official, recommended solution is to import walk directly from estree-walker (which is what Svelte itself uses).

v0.11.2

08 Apr 23:07
Compare
Choose a tag to compare

Fixes

  • optimizeCss: do not print diff if value is zero (a5ae1af, #59)

v0.11.1

08 Apr 03:09
Compare
Choose a tag to compare

Fixes

  • optimizeCss: only remove selectors containing the Carbon bx-- prefix (077b1f1, #56)