summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar matthewp <matthewp@users.noreply.github.com> 2021-11-15 20:06:53 +0000
committerGravatar GitHub Actions <actions@github.com> 2021-11-15 20:06:53 +0000
commit64cc9ed9c1a8ab7fc91652c8548f8302988d57af (patch)
tree4091a980fb34dd93b5ecb1d7533f011558319fb9
parent93cc4d361b66fa7e09d72c1c7432b856f518ef72 (diff)
downloadastro-64cc9ed9c1a8ab7fc91652c8548f8302988d57af.tar.gz
astro-64cc9ed9c1a8ab7fc91652c8548f8302988d57af.tar.zst
astro-64cc9ed9c1a8ab7fc91652c8548f8302988d57af.zip
[ci] yarn format
-rw-r--r--packages/astro/src/vite-plugin-build-css/index.ts6
1 files 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;