Fix invalid path for build on windows

This commit is contained in:
tpot
2021-12-27 15:44:17 +01:00
parent 794c16d770
commit 728748d6d5

View File

@@ -107,7 +107,7 @@ function getObjectFromModelFile(
const fileComponents = filePath.split(path.sep);
const fileName = fileComponents
.slice(fileComponents.length - depthFromEnd)
.join(path.sep);
.join('/');
return { [fileName]: content };
}