Skip to content
This repository was archived by the owner on Jan 28, 2025. It is now read-only.

Commit 7f94c4b

Browse files
missing posix fix
1 parent a8fef99 commit 7f94c4b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

packages/s3-static-assets/src/index.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,10 @@ const uploadStaticAssets = async (
7777
return files.filter(filterOutDirectories).map(fileItem =>
7878
s3.uploadFile({
7979
filePath: fileItem.path,
80-
s3Key: path.posix.relative(path.resolve(nextConfigDir), fileItem.path)
80+
s3Key: path.posix.relative(
81+
path.posix.resolve(nextConfigDir),
82+
fileItem.path
83+
)
8184
})
8285
);
8386
};

0 commit comments

Comments
 (0)