Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: vitejs/vite
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: bb8c4029a864befa9cafd7fd05cb367fb41ee2d0
Choose a base ref
..
head repository: vitejs/vite
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 5e8e7ecf623276ba268374e31b9cf71ac64ac211
Choose a head ref
Showing with 4 additions and 1 deletion.
  1. +4 −1 packages/vite/src/node/ssr/runtime/__tests__/fixtures/dynamic-import.js
Original file line number Diff line number Diff line change
@@ -10,7 +10,10 @@ export const initialize = async () => {
dynamicRelative: await import(nameRelative),
dynamicAbsolute: await import(nameAbsolute),
dynamicAbsoluteExtension: await import(nameAbsoluteExtension),
dynamicAbsoluteFull: await import(path.join("/@fs", import.meta.dirname, "simple.js")),
dynamicAbsoluteFull: await import(path.join(
...process.platform === 'win32' ? ['/@fs'] : [],
import.meta.dirname, "simple.js"
)),
static: staticModule,
}
}