From 29da99c4b3742a55866bcd7e03908eb171daae46 Mon Sep 17 00:00:00 2001 From: natemoo-re Date: Fri, 5 Aug 2022 15:41:32 +0000 Subject: [PATCH] [ci] format --- packages/astro/src/vite-plugin-astro-server/index.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/astro/src/vite-plugin-astro-server/index.ts b/packages/astro/src/vite-plugin-astro-server/index.ts index 99a749a3d..7392ac33b 100644 --- a/packages/astro/src/vite-plugin-astro-server/index.ts +++ b/packages/astro/src/vite-plugin-astro-server/index.ts @@ -411,8 +411,8 @@ export default function createPlugin({ config, logging }: AstroPluginOptions): v if (opts.ssr) return; if (!id.includes('vite/dist/client/client.mjs')) return; return code - .replace(/\.tip \{[^}]*\}/gm, '.tip {\n display: none;\n}') - .replace(/\[vite\]/g, '[astro]') - } + .replace(/\.tip \{[^}]*\}/gm, '.tip {\n display: none;\n}') + .replace(/\[vite\]/g, '[astro]'); + }, }; }