buildWeb: suppress experimental api warnings

This commit is contained in:
Vendicated 2022-10-15 20:56:48 +02:00
parent 9c7b548a9e
commit 845088ec02
No known key found for this signature in database
GPG key ID: EC781ADFB93EFFA3
3 changed files with 8 additions and 2 deletions

View file

@ -0,0 +1,6 @@
process.emit = (originalEmit => function (name, data) {
if (name === "warning" && data?.name === "ExperimentalWarning")
return false;
return originalEmit.apply(process, arguments);
})(process.emit);