Releases: carbon-design-system/carbon-preprocess-svelte
Releases · carbon-design-system/carbon-preprocess-svelte
v0.11.10
Fixes
optimizeCss
: update component index to include nested component selectors (196f162, #77)
v0.11.9
Features
Fixes
optimizeImports
: append line break to optimized path (10e330e)
v0.11.8
Fixes
- de-dupe selectors in component index (a6cd320)
- preserve comments in TypeScript definitions (49df4d1)
v0.11.7
Fixes
- fix
OptimizeCssPlugin
to convert buffer to string (9f83cdf)
- patch
postcss
and postcss-discard-empty
dependencies (49e320b, 38ab7a4)
v0.11.6
Fixes
- remove code comments from transpiled code (3d2bf48)
v0.11.5
Fixes
- omit pretty printing component index to reduce package size (fccaad1, #67)
v0.11.4
Fixes
optimizeCss
: do not remove custom @font-face
rules if preserveAllIBMFonts
is false
(6157e1a, #66)
v0.11.3
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
Fixes
optimizeCss
: do not print diff if value is zero (a5ae1af, #59)
v0.11.1
Fixes
optimizeCss
: only remove selectors containing the Carbon bx--
prefix (077b1f1, #56)