diff options
author | 2022-08-05 15:41:32 +0000 | |
---|---|---|
committer | 2022-08-05 15:41:32 +0000 | |
commit | 29da99c4b3742a55866bcd7e03908eb171daae46 (patch) | |
tree | 8869866f74ccb79b238fef6894c5ed0d72c66e15 | |
parent | 9014f0f8cbff5a0d4894046339238c4ee71a117b (diff) | |
download | astro-29da99c4b3742a55866bcd7e03908eb171daae46.tar.gz astro-29da99c4b3742a55866bcd7e03908eb171daae46.tar.zst astro-29da99c4b3742a55866bcd7e03908eb171daae46.zip |
[ci] format
-rw-r--r-- | packages/astro/src/vite-plugin-astro-server/index.ts | 6 |
1 files 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]'); + }, }; } |