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