Skip to content

Commit 493f81a

Browse files
committed
try windows
1 parent 871e871 commit 493f81a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/plugin-vite/src/plugins/server_snapshot.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -419,7 +419,7 @@ export function serverSnapshot(options: ResolvedFreshViteConfig): Plugin[] {
419419
let item: EnvironmentModuleNode | undefined;
420420
while ((item = queue.pop()) !== undefined) {
421421
if (item.file !== null) {
422-
const normalized = path.normalize(item.file);
422+
const normalized = toPosix(path.normalize(item.file));
423423
const name = routeFileToName.get(normalized);
424424

425425
if (name !== undefined) {

0 commit comments

Comments
 (0)