Merge pull request #4099 from dmitrylyzo/fix-win-build

This commit is contained in:
Bill Thornton
2022-10-25 08:46:22 -04:00
committed by GitHub
+1 -1
View File
@@ -109,7 +109,7 @@ const config = {
if (packageName.startsWith('@')) {
const parts = module.context
.substring(module.context.lastIndexOf(packageName))
.split('/');
.split(/[\\/]/);
return `node_modules.${parts[0]}.${parts[1]}`;
}