From 64cc9ed9c1a8ab7fc91652c8548f8302988d57af Mon Sep 17 00:00:00 2001 From: matthewp Date: Mon, 15 Nov 2021 20:06:53 +0000 Subject: [PATCH] [ci] yarn format --- packages/astro/src/vite-plugin-build-css/index.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/astro/src/vite-plugin-build-css/index.ts b/packages/astro/src/vite-plugin-build-css/index.ts index b9b475e63..4de830919 100644 --- a/packages/astro/src/vite-plugin-build-css/index.ts +++ b/packages/astro/src/vite-plugin-build-css/index.ts @@ -1,4 +1,4 @@ -import type {RenderedChunk } from 'rollup'; +import type { RenderedChunk } from 'rollup'; import type { Plugin as VitePlugin } from 'vite'; import { STYLE_EXTENSIONS } from '../core/ssr/css.js'; @@ -66,8 +66,8 @@ export function rollupPluginAstroBuildCSS(options: PluginOptions): VitePlugin { configResolved(resolvedConfig) { viteTransform = getViteTransform(resolvedConfig); - const viteCSSPost = resolvedConfig.plugins.find(p => p.name === 'vite:css-post'); - if(viteCSSPost) { + const viteCSSPost = resolvedConfig.plugins.find((p) => p.name === 'vite:css-post'); + if (viteCSSPost) { // Prevent this plugin's bundling behavior from running since we need to // do that ourselves in order to handle updating the HTML. delete viteCSSPost.renderChunk;