From 52c86264dc91ca3ee52e074f7de3a6d8ff183871 Mon Sep 17 00:00:00 2001
From: Michael Telatynski <7t3chguy@gmail.com>
Date: Thu, 17 Feb 2022 09:00:45 +0000
Subject: [PATCH] Tweak webpack config around stubbing node modules (#21108)

---
 webpack.config.js | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/webpack.config.js b/webpack.config.js
index f427e10582..9b6e17bed1 100644
--- a/webpack.config.js
+++ b/webpack.config.js
@@ -95,6 +95,8 @@ module.exports = (env, argv) => {
         node: {
             // Mock out the NodeFS module: The opus decoder imports this wrongly.
             fs: 'empty',
+            net: 'empty',
+            tls: 'empty',
         },
 
         entry: {