No description
Find a file
Justin Ridgewell 77e46e2670 Normalize Windows paths into Unix paths (vercel/turbo#251)
The snapshot tests were failing because Windows paths were sneaking into the `FileSystemPathVc::path`. Reviewing, the `::new` method didn't normalize `\` into `/`, and the various `::join` methods didn't either. This came up in both the chunk ids, and the request pathnames used by the server.

No path with backslash should enter the FileSystemPath APIs, they should be normalized during conversion from `Path` to `String`

Co-authored-by: Tobias Koppers <1365881+sokra@users.noreply.github.com>
2022-08-23 16:10:38 +00:00
packages/next-swc/crates Normalize Windows paths into Unix paths (vercel/turbo#251) 2022-08-23 16:10:38 +00:00