Updating the main devDependencies in package.json to Svelte 5 and re-building the plugin was what I needed to get my app to build properly with Svelte 5.
Also updated tests to work for Svelte 5, as well as type errors in the plugin (due to changed imports and compiler options) and finally updated examples to show usage with Svelte 5 (since mounting a Svelte component will be a breaking change compared to Svelte 4).
This is based on findings in https://github.com/EMH333/esbuild-svelte/pull/230#pullrequestreview-2064452383.
Updating the main devDependencies in
package.json
to Svelte 5 and re-building the plugin was what I needed to get my app to build properly with Svelte 5.Also updated tests to work for Svelte 5, as well as type errors in the plugin (due to changed imports and compiler options) and finally updated examples to show usage with Svelte 5 (since mounting a Svelte component will be a breaking change compared to Svelte 4).
fixes #232