From c0268792379223505c083d9c4802b0af5590a06d Mon Sep 17 00:00:00 2001 From: Germain Date: Fri, 18 Aug 2023 11:56:07 +0100 Subject: [PATCH] Fix path separator for Windows based systems (#25997) --- webpack.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webpack.config.js b/webpack.config.js index 92557711d4..6ae7c02294 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -275,7 +275,7 @@ module.exports = (env, argv) => { // either webpack or our babel setup. // When we do get to upgrade our current setup, this should // probably be removed. - if (f.includes("@vector-im/compound-web")) return true; + if (f.includes(path.join("@vector-im", "compound-web"))) return true; // but we can't run all of our dependencies through babel (many of them still // use module.exports which breaks if babel injects an 'include' for its