diff --git a/e2e/svelte.config.js b/e2e/svelte.config.js index d0ce7b1e..ffdf30f8 100644 --- a/e2e/svelte.config.js +++ b/e2e/svelte.config.js @@ -2,4 +2,9 @@ import { vitePreprocess } from '@astrojs/svelte' export default { preprocess: vitePreprocess(), + compilerOptions: { + experimental: { + async: true, + }, + }, } diff --git a/examples/svelte/svelte.config.js b/examples/svelte/svelte.config.js index 1a204af1..38e93e9a 100644 --- a/examples/svelte/svelte.config.js +++ b/examples/svelte/svelte.config.js @@ -15,6 +15,12 @@ const config = { // See https://svelte.dev/docs/kit/adapters for more information about adapters. adapter: adapter(), }, + + compilerOptions: { + experimental: { + async: true, + }, + }, } export default config