[READ-ONLY] Mirror of https://github.com/mxdvl/mononykus. Svelte and partial hydration with Deno mxdvl.github.io/mononykus
deno svelte

fix: enable svelte async runtime flag in build_routes.ts master

The compiler's `experimental: { async: true }` adds `import 'svelte/internal/flags/async'` to compiled component output, but since esbuild bundles create separate module instances, the `async_mode_flag` checked by `render()` from `svelte/server` was never set. This import enables the flag in the same Deno module context that render() uses. Agent-Logs-Url: https://github.com/mxdvl/mononykus/sessions/e79d6417-2abd-4191-bba6-cacaaed0d976 Co-authored-by: mxdvl <76776+mxdvl@users.noreply.github.com>


+7 -5
1 changed file