From 7577b163ee06259b3f5be1dbbfa1c354704f504a Mon Sep 17 00:00:00 2001 From: bluwy Date: Wed, 17 Jan 2024 00:18:44 +0800 Subject: [PATCH] Fix typo --- packages/astro/src/vite-plugin-astro/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/astro/src/vite-plugin-astro/index.ts b/packages/astro/src/vite-plugin-astro/index.ts index 118f1d1cf5b7..4a5009146864 100644 --- a/packages/astro/src/vite-plugin-astro/index.ts +++ b/packages/astro/src/vite-plugin-astro/index.ts @@ -168,8 +168,8 @@ export default function astro({ settings, logger }: AstroPluginOptions): vite.Pl }; // We invalidate and then compile again as we know Vite will only call this `transform` - // is the cache its cache is invalidated. - // TODO: Do the compilation directly. + // when its cache is invalidated. + // TODO: Do the compilation directly and remove our cache so we rely on Vite only. invalidateCompilation(config, compileProps.filename); const transformResult = await cachedFullCompilation({ compileProps, logger });