fix build Windows
This commit is contained in:
parent
9e76319a4c
commit
820fbb07e3
1 changed files with 1 additions and 1 deletions
|
@ -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]}`;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue