Skip to content

Commit f2d522d

Browse files
committed
fix: use path.relative instead of path.posix.relative
1 parent a91a937 commit f2d522d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • packages/kit/src/exports/vite/dev

packages/kit/src/exports/vite/dev/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,7 @@ export async function dev(vite, vite_config, svelte_config, get_remotes, root) {
362362
end = i + 1;
363363
}
364364

365-
return line.replace(file, path.posix.relative(process.cwd(), file));
365+
return line.replace(file, path.relative(process.cwd(), file));
366366
}
367367

368368
return line;

0 commit comments

Comments
 (0)