diff options
author | 2021-04-16 17:15:59 +0000 | |
---|---|---|
committer | 2021-04-16 17:15:59 +0000 | |
commit | e43d98d6f3aaf9252c336f490b75f4989ea7dab3 (patch) | |
tree | 22e0e44d20d1383be3a303c09da588be2636b36a /src | |
parent | 58c499dc854b5f8173c95016b1c5da4145cccd96 (diff) | |
download | astro-e43d98d6f3aaf9252c336f490b75f4989ea7dab3.tar.gz astro-e43d98d6f3aaf9252c336f490b75f4989ea7dab3.tar.zst astro-e43d98d6f3aaf9252c336f490b75f4989ea7dab3.zip |
[ci] npm run format
Diffstat (limited to 'src')
-rw-r--r-- | src/runtime.ts | 20 |
1 files changed, 14 insertions, 6 deletions
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<string, any> /** Core Astro runtime */ export async function createRuntime(astroConfig: AstroConfig, { mode, logging }: RuntimeOptions): Promise<AstroRuntime> { - 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, |