Skip to content

Commit 0a4b952

Browse files
committed
Store public file posix path on Windows
1 parent aefac31 commit 0a4b952

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/wet-pugs-chew.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"open-next": patch
3+
---
4+
5+
Store public file posix path on Windows

packages/open-next/src/build.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ function listPublicFiles() {
134134
for (const file of files) {
135135
file.isDirectory()
136136
? processDirectory(path.join(pathInPublic, file.name))
137-
: result.files.push(path.join(pathInPublic, file.name));
137+
: result.files.push(path.posix.join(pathInPublic, file.name));
138138
}
139139
}
140140

0 commit comments

Comments
 (0)