Skip to content

Commit ec2b027

Browse files
Merge pull request #31238 from mrginglymus/normalize-annotation-paths
Vite: Normalize preview annotation paths
2 parents 930f7e5 + 01095e5 commit ec2b027

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

code/builders/builder-vite/src/utils/process-preview-annotation.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export function processPreviewAnnotation(path: PreviewAnnotation, projectRoot: s
1313
if (path.bare != null && path.absolute === '') {
1414
return path.bare;
1515
}
16-
return path.absolute;
16+
return normalize(path.absolute);
1717
}
1818

1919
// If it's already an absolute path, return it.

0 commit comments

Comments
 (0)