From 820fbb07e32e468c79b9c6c7d8cc6a352d9a48e4 Mon Sep 17 00:00:00 2001 From: Dmitry Lyzo Date: Tue, 25 Oct 2022 10:01:41 +0300 Subject: [PATCH] fix build Windows --- webpack.common.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webpack.common.js b/webpack.common.js index d1b7a22946..e820878021 100644 --- a/webpack.common.js +++ b/webpack.common.js @@ -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]}`; }