Change the way modules are excluded from webpack

This commit is contained in:
Schuyler Cebulskie
2016-11-20 23:19:53 -05:00
parent ee4a8bb3b6
commit 0d754d1fbb
2 changed files with 4 additions and 6 deletions

View File

@@ -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',