Skip to content

Commit 01095e5

Browse files
committed
Normalize preview annotation paths
1 parent 6c8f862 commit 01095e5

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)