Tweak webpack config around stubbing node modules (#21108)
This commit is contained in:
parent
c275ef6b49
commit
52c86264dc
1 changed files with 2 additions and 0 deletions
|
@ -95,6 +95,8 @@ module.exports = (env, argv) => {
|
||||||
node: {
|
node: {
|
||||||
// Mock out the NodeFS module: The opus decoder imports this wrongly.
|
// Mock out the NodeFS module: The opus decoder imports this wrongly.
|
||||||
fs: 'empty',
|
fs: 'empty',
|
||||||
|
net: 'empty',
|
||||||
|
tls: 'empty',
|
||||||
},
|
},
|
||||||
|
|
||||||
entry: {
|
entry: {
|
||||||
|
|
Loading…
Reference in a new issue