mirror of
https://github.com/danbulant/discord.js
synced 2026-05-24 12:35:53 +00:00
Ensure opusscript and node-opus don't get built
This commit is contained in:
parent
049ab42eb4
commit
18dc95e1bd
1 changed files with 4 additions and 0 deletions
|
|
@ -28,6 +28,10 @@ const createConfig = (options) => {
|
|||
{ test: /\.md$/, loader: 'ignore-loader' },
|
||||
],
|
||||
},
|
||||
externals: {
|
||||
opusscript: { commonjs: 'opusscript' },
|
||||
'node-opus': { commonjs: 'node-opus' },
|
||||
},
|
||||
node: {
|
||||
fs: 'empty',
|
||||
dns: 'mock',
|
||||
|
|
|
|||
Loading…
Reference in a new issue