From 664a221a24774760b7e135443914ee1837cbacda Mon Sep 17 00:00:00 2001 From: tony-sull Date: Tue, 22 Feb 2022 09:54:23 +0000 Subject: [PATCH] [ci] yarn format --- packages/astro/src/core/render/dev/index.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/astro/src/core/render/dev/index.ts b/packages/astro/src/core/render/dev/index.ts index 9eaf6323f..43fafeb3b 100644 --- a/packages/astro/src/core/render/dev/index.ts +++ b/packages/astro/src/core/render/dev/index.ts @@ -50,7 +50,9 @@ export async function render(renderers: Renderer[], mod: ComponentInstance, ssrO const { astroConfig, filePath, logging, mode, origin, pathname, route, routeCache, viteServer } = ssrOpts; // Add hoisted script tags - const scripts = createModuleScriptElementWithSrcSet(astroConfig.buildOptions.experimentalStaticBuild && mod.hasOwnProperty('$$metadata') ? Array.from(mod.$$metadata.hoistedScriptPaths()) : []); + const scripts = createModuleScriptElementWithSrcSet( + astroConfig.buildOptions.experimentalStaticBuild && mod.hasOwnProperty('$$metadata') ? Array.from(mod.$$metadata.hoistedScriptPaths()) : [] + ); // Inject HMR scripts if (mod.hasOwnProperty('$$metadata') && mode === 'development' && astroConfig.buildOptions.experimentalStaticBuild) {