Fix path separator for Windows based systems (#25997)

pull/26029/head
Germain 2023-08-18 11:56:07 +01:00 committed by GitHub
parent d9b4e531b0
commit c026879237
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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