Svelte plugin: incompatibility with svelte-kit starting from 1.0.0-next.574 #392
Closed
6 tasks done
Labels
to triage
This issue needs to be triaged
Describe the bug
Context
There have been 2 recent releases of svelte-kit that causes
histoire
to fail:1.0.0-next.574, in which the internal
vite-plugin-svelte-kit
was split intovite-plugin-sveltekit-build
andvite-plugin-sveltekit-middleware
in PR #7990.1.0.0-next.576, in which the
sveltekit
vite plugin becameasync
(PR #7994).Resolution
For (1), please see this open PR that updates
viteIgnorePlugins
.For (2), I'm not sure there is a way to get around automatically from
@histoire/plugin-svelte
side; I'm happy to help out further if someone can give me some direction. For now, here is a working workaround for me:Maybe if nothing can be done, then this should be added to the documentation somewhere?
Reproduction
Please run
npm run story:dev
from this StackBlitz. Notice:svelte-kit
app instead ofhistore
,svelte-kit
is reverted to1.0.0-next.573
, everything works as expected.System Info
Used Package Manager
npm
Validations
The text was updated successfully, but these errors were encountered: