Skip to content

Commit 0e14211

Browse files
authored
fix: use junctions in Windows (#1217)
1 parent 0664006 commit 0e14211

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/node/build/build.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ function linkVue(root: string) {
109109
// if user did not install vue by themselves, link VitePress' version
110110
if (!fs.existsSync(dest)) {
111111
const src = path.dirname(createRequire(import.meta.url).resolve('vue'))
112-
fs.ensureSymlinkSync(src, dest)
112+
fs.ensureSymlinkSync(src, dest, 'junction')
113113
return () => {
114114
fs.unlinkSync(dest)
115115
}

0 commit comments

Comments
 (0)