diff --git a/src/runtime.ts b/src/runtime.ts index 190db41f0..99f4d9682 100644 --- a/src/runtime.ts +++ b/src/runtime.ts @@ -293,13 +293,21 @@ async function createSnowpack(astroConfig: AstroConfig, env: Record /** Core Astro runtime */ export async function createRuntime(astroConfig: AstroConfig, { mode, logging }: RuntimeOptions): Promise { - const { snowpack: backendSnowpack, snowpackRuntime: backendSnowpackRuntime, snowpackConfig: backendSnowpackConfig } = await createSnowpack(astroConfig, { - astro: true, - }, mode); + const { snowpack: backendSnowpack, snowpackRuntime: backendSnowpackRuntime, snowpackConfig: backendSnowpackConfig } = await createSnowpack( + astroConfig, + { + astro: true, + }, + mode + ); - const { snowpack: frontendSnowpack, snowpackRuntime: frontendSnowpackRuntime, snowpackConfig: frontendSnowpackConfig } = await createSnowpack(astroConfig, { - astro: false, - }, mode); + const { snowpack: frontendSnowpack, snowpackRuntime: frontendSnowpackRuntime, snowpackConfig: frontendSnowpackConfig } = await createSnowpack( + astroConfig, + { + astro: false, + }, + mode + ); const runtimeConfig: RuntimeConfig = { astroConfig,