Skip to content

Commit

Permalink
Tweak webpack config around stubbing node modules (#21108)
Browse files Browse the repository at this point in the history
  • Loading branch information
t3chguy authored Feb 17, 2022
1 parent c275ef6 commit 52c8626
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down

0 comments on commit 52c8626

Please sign in to comment.