pull/16748/head
S. Elliott Johnson 1 month ago
parent f6d3894ea8
commit 4325e671d3

@ -381,6 +381,10 @@ export function server_component(analysis, options) {
);
}
if (options.experimental.async) {
body.unshift(b.imports([], 'svelte/internal/flags/async'));
}
return {
type: 'Program',
sourceType: 'module',

@ -59,8 +59,6 @@ const { test, run } = suite_with_variants<SSRTest, 'sync' | 'async', CompileOpti
...config.compileOptions
};
console.log(compile_options);
if (!config.load_compiled) {
await compile_directory(test_dir, 'server', compile_options);
}

@ -1,3 +1,4 @@
import 'svelte/internal/flags/async';
import * as $ from 'svelte/internal/server';
export default function Async_each_fallback_hoisting($$payload) {

@ -1,3 +1,4 @@
import 'svelte/internal/flags/async';
import * as $ from 'svelte/internal/server';
export default function Async_each_hoisting($$payload) {

@ -1,3 +1,4 @@
import 'svelte/internal/flags/async';
import * as $ from 'svelte/internal/server';
export default function Async_if_alternate_hoisting($$payload) {

@ -1,3 +1,4 @@
import 'svelte/internal/flags/async';
import * as $ from 'svelte/internal/server';
export default function Async_if_hoisting($$payload) {

Loading…
Cancel
Save