Tweak webpack config around stubbing node modules (#21108)

This commit is contained in:
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

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