Skip to content

Commit afe1da1

Browse files
authored
fix playground with svelte < 5.36 (#1417)
1 parent 49c3a0d commit afe1da1

File tree

1 file changed

+5
-1
lines changed
  • packages/repl/src/lib/workers/bundler

1 file changed

+5
-1
lines changed

packages/repl/src/lib/workers/bundler/index.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -549,7 +549,11 @@ async function bundle(
549549
</svelte:boundary>
550550
`
551551
: `
552-
export { default } from './App.svelte';
552+
<script>
553+
import App from './App.svelte';
554+
</script>
555+
556+
<App />
553557
`;
554558

555559
lookup.set(WRAPPER, {

0 commit comments

Comments
 (0)