Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
bluwy committed Jan 16, 2024
1 parent 0a8eb7b commit 7577b16
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/astro/src/vite-plugin-astro/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 });

Expand Down

0 comments on commit 7577b16

Please sign in to comment.