Tweak webpack config around stubbing node modules (#21108)

pull/21116/head
Michael Telatynski 2022-02-17 09:00:45 +00:00 committed by GitHub
parent c275ef6b49
commit 52c86264dc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

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