From 72587eccc51e7468aba7839daa471d0de5e17abf Mon Sep 17 00:00:00 2001 From: matthewp Date: Fri, 10 Jun 2022 16:40:13 +0000 Subject: [PATCH] [ci] format --- packages/astro/src/core/dev/index.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/astro/src/core/dev/index.ts b/packages/astro/src/core/dev/index.ts index 7c25bb17ff..0e5a3fca04 100644 --- a/packages/astro/src/core/dev/index.ts +++ b/packages/astro/src/core/dev/index.ts @@ -1,7 +1,5 @@ import type { AstroTelemetry } from '@astrojs/telemetry'; -import glob from 'fast-glob'; import type { AddressInfo } from 'net'; -import path from 'path'; import { performance } from 'perf_hooks'; import * as vite from 'vite'; import type { AstroConfig } from '../../@types/astro'; @@ -38,7 +36,9 @@ export default async function dev(config: AstroConfig, options: DevOptions): Pro // The client entrypoint for renderers. Since these are imported dynamically // we need to tell Vite to preoptimize them. - const rendererClientEntries = config._ctx.renderers.map(r => r.clientEntrypoint).filter(Boolean) as string[]; + const rendererClientEntries = config._ctx.renderers + .map((r) => r.clientEntrypoint) + .filter(Boolean) as string[]; const viteConfig = await createVite( { @@ -51,7 +51,7 @@ export default async function dev(config: AstroConfig, options: DevOptions): Pro 'astro/client/visible.js', 'astro/client/media.js', 'astro/client/only.js', - ...rendererClientEntries + ...rendererClientEntries, ], }, },