From bd849a4f62b53ada3c7faf399c1a5a17c35a8c73 Mon Sep 17 00:00:00 2001 From: Emanuele Stoppa Date: Tue, 11 Jun 2024 11:05:57 +0000 Subject: [PATCH] [ci] format --- packages/astro/src/config/index.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/packages/astro/src/config/index.ts b/packages/astro/src/config/index.ts index ee4df1c3d1..0a047c84da 100644 --- a/packages/astro/src/config/index.ts +++ b/packages/astro/src/config/index.ts @@ -6,7 +6,10 @@ export function defineConfig(config: AstroUserConfig) { return config; } -export function getViteConfig(userViteConfig: ViteUserConfig, inlineAstroConfig: AstroInlineConfig = {}) { +export function getViteConfig( + userViteConfig: ViteUserConfig, + inlineAstroConfig: AstroInlineConfig = {} +) { // Return an async Vite config getter which exposes a resolved `mode` and `command` return async ({ mode, command }: { mode: string; command: 'serve' | 'build' }) => { // Vite `command` is `serve | build`, but Astro uses `dev | build`