Skip to content

Commit f7476b5

Browse files
committed
Use path.normalize() for path normalization
1 parent 2c97539 commit f7476b5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎rollup.config.mjs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ function getAllFiles(dir, fileList = []) {
1111
if (fs.statSync(filePath).isDirectory()) {
1212
getAllFiles(filePath, fileList);
1313
} else if (filePath.endsWith(".js")) {
14-
fileList.push(filePath.split(path.sep).join("/"));
14+
fileList.push(path.normalize(filePath));
1515
}
1616
}
1717
return fileList;

0 commit comments

Comments
 (0)