mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
Change the way modules are excluded from webpack
This commit is contained in:
@@ -28,12 +28,6 @@ const createConfig = (options) => {
|
||||
{ test: /\.md$/, loader: 'ignore-loader' },
|
||||
],
|
||||
},
|
||||
externals: {
|
||||
ws: { commonjs: 'ws' },
|
||||
opusscript: { commonjs: 'opusscript' },
|
||||
'node-opus': { commonjs: 'node-opus' },
|
||||
'tweet-nacl': { commonjs: 'tweet-nacl' },
|
||||
},
|
||||
node: {
|
||||
fs: 'empty',
|
||||
dns: 'mock',
|
||||
|
||||
Reference in New Issue
Block a user