mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
Ensure opusscript and node-opus don't get built
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user