Commit graph

3 commits

Author SHA1 Message Date
Fred Bricon
ba9518d7ec fix(svelte): migrate HMR configuration for Svelte 5 compatibility
Moved HMR configuration from vite plugin's 'hot' option to compilerOptions.hmr
in svelte.config.js as required by Svelte 5, which has HMR integrated in core.

This fixes the warning: "[vite-plugin-svelte] svelte 5 has hmr integrated in
core. Please remove the vitePlugin.hot option and use compilerOptions.hmr instead"

Co-Authored-By: Claude Sonnet 4.5 <[email protected]>
Signed-off-by: Fred Bricon <[email protected]>
2026-03-23 15:37:53 +01:00
Florent Benoit
d521245553 chore: enable async keyword usage in svelte
https://github.com/podman-desktop/podman-desktop/issues/14362
Signed-off-by: Florent Benoit <[email protected]>
2025-11-13 15:35:02 +01:00
Florent Benoit
5656336137 refactor(svelte-config): externalize the svelte config to a separate file
compilerOptions are only read from the root svelte.config.js file
so we need to have such a file to bring async compiler option

https://github.com/podman-desktop/podman-desktop/issues/14362
Signed-off-by: Florent Benoit <[email protected]>
2025-10-23 19:16:13 +02:00