Closed hmnd closed 1 month ago
Run & review this pull request in StackBlitz Codeflow.
/cc @benmccann @dominikg
@hmnd @benmccann to release this we also need this another PR #381 and switch types/svelte
to types/svelte5
adding the corresponding subpacka exports.
Description
347 introduced support for Svelte 5 runes. In doing so, the Svelte plugin now imports from
svelte/compiler
. Withoutsvelte
being listed as an optional peer dependency, the import did not correctly resolvesvelte
from the current workspace within a monorepo. Thus, if another package in the monorepo depended on Svelte 5, a package depending on Svelte 4 could be misidentified as the newer version.