diff options
author | 2024-06-11 11:05:57 +0000 | |
---|---|---|
committer | 2024-06-11 11:05:57 +0000 | |
commit | bd849a4f62b53ada3c7faf399c1a5a17c35a8c73 (patch) | |
tree | bec2ca4a3c8d67006f38311103449bd3942e4a52 | |
parent | 58d7dbb5e0cabea1ac7a35af5b46685fce50d723 (diff) | |
download | astro-bd849a4f62b53ada3c7faf399c1a5a17c35a8c73.tar.gz astro-bd849a4f62b53ada3c7faf399c1a5a17c35a8c73.tar.zst astro-bd849a4f62b53ada3c7faf399c1a5a17c35a8c73.zip |
[ci] format
-rw-r--r-- | packages/astro/src/config/index.ts | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/packages/astro/src/config/index.ts b/packages/astro/src/config/index.ts index ee4df1c3d..0a047c84d 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` |