Skip to content

Commit

Permalink
Pass the normalizedID to transformWithVite
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewp committed Feb 2, 2022
1 parent 0301abe commit 55ed808
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/astro/src/vite-plugin-astro/compile.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ async function compile(config: AstroConfig, filename: string, source: string, vi
const result = await transformWithVite({
value,
lang,
id: filename,
id: normalizedID,
transformHook: viteTransform,
ssr: isSSR(opts),
});
Expand Down

0 comments on commit 55ed808

Please sign in to comment.