From 4f649014e9323db30d82e36e73f8e9ac1cf13cfa Mon Sep 17 00:00:00 2001 From: matthewp Date: Thu, 19 Jan 2023 13:15:53 +0000 Subject: [PATCH] [ci] format --- packages/integrations/svelte/src/index.ts | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/packages/integrations/svelte/src/index.ts b/packages/integrations/svelte/src/index.ts index 7daa9bec506b..ed41812eb3a4 100644 --- a/packages/integrations/svelte/src/index.ts +++ b/packages/integrations/svelte/src/index.ts @@ -1,8 +1,8 @@ import type { Options } from '@sveltejs/vite-plugin-svelte'; import { svelte, vitePreprocess } from '@sveltejs/vite-plugin-svelte'; import type { AstroIntegration, AstroRenderer } from 'astro'; -import type { UserConfig } from 'vite'; import { fileURLToPath } from 'url'; +import type { UserConfig } from 'vite'; function getRenderer(): AstroRenderer { return { @@ -29,7 +29,11 @@ type ViteConfigurationArgs = { root: URL; }; -async function getViteConfiguration({ options, isDev, root }: ViteConfigurationArgs): Promise { +async function getViteConfiguration({ + options, + isDev, + root, +}: ViteConfigurationArgs): Promise { const defaultOptions: Partial = { emitCss: true, compilerOptions: { dev: isDev, hydratable: true },