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

latest releases: v0.12.4, v0.12.3, v0.12.2...
2 years ago

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).

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

NewReleases is sending notifications on new releases.