From edad6bcd610de6a374f6fe660832557c4e2277c1 Mon Sep 17 00:00:00 2001 From: Ben McCann <322311+benmccann@users.noreply.github.com> Date: Mon, 6 Feb 2023 09:31:48 -0800 Subject: [PATCH] Update preset.ts --- code/frameworks/svelte-vite/src/preset.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/frameworks/svelte-vite/src/preset.ts b/code/frameworks/svelte-vite/src/preset.ts index 6471dcefd67..bf7a7f74251 100644 --- a/code/frameworks/svelte-vite/src/preset.ts +++ b/code/frameworks/svelte-vite/src/preset.ts @@ -13,7 +13,7 @@ export const viteFinal: NonNullable = async (confi const { plugins = [] } = config; // TODO: set up eslint import to use typescript resolver // eslint-disable-next-line import/no-unresolved - const { loadSvelteConfig } = await import('@sveltejs/vite-plugin-svelte'); + const { svelte, loadSvelteConfig } = await import('@sveltejs/vite-plugin-svelte'); const svelteConfig = await loadSvelteConfig(); // Add svelte plugin if the user does not have a Vite config of their own