Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: handle windows relative path handling
On Windows, when a folder is on a virtual drive (e.g. `subst X: C:/dev`), then symlink resolving will end up causing the root of the project and the imported files to be on separate drives. This leads into a situations where `path.relative(root, entryFile)` does not return a relative path. Updates vitejs#4635
- Loading branch information