Skip to content

Commit

Permalink
Fix VT fail
Browse files Browse the repository at this point in the history
  • Loading branch information
bluwy committed Nov 21, 2023
1 parent f854adb commit 2911c16
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/astro/src/transitions/vite-plugin-transitions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@ export default function astroTransitions({ settings }: { settings: AstroSettings
load(id) {
if (id === resolvedVirtualModuleId) {
return `
export * from "astro/transitions";
export * from "astro/virtual-modules/transitions.js";
export { default as ViewTransitions } from "astro/components/ViewTransitions.astro";
`;
}
if (id === resolvedVirtualClientModuleId) {
return `
export * from "astro/transitions/router";
export * from "astro/virtual-modules/transitions-router.js";
`;
}
},
Expand Down

0 comments on commit 2911c16

Please sign in to comment.