diff options
Diffstat (limited to 'client/config/webpack.prod.js')
-rw-r--r-- | client/config/webpack.prod.js | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/client/config/webpack.prod.js b/client/config/webpack.prod.js index 3f063c7c6..c27a4f4b0 100644 --- a/client/config/webpack.prod.js +++ b/client/config/webpack.prod.js | |||
@@ -81,10 +81,6 @@ module.exports = function (env) { | |||
81 | publicPath: '/client/' | 81 | publicPath: '/client/' |
82 | }, | 82 | }, |
83 | 83 | ||
84 | externals: { | ||
85 | webtorrent: 'WebTorrent' | ||
86 | }, | ||
87 | |||
88 | /** | 84 | /** |
89 | * Add additional plugins to the compiler. | 85 | * Add additional plugins to the compiler. |
90 | * | 86 | * |
@@ -272,6 +268,7 @@ module.exports = function (env) { | |||
272 | node: { | 268 | node: { |
273 | global: true, | 269 | global: true, |
274 | crypto: 'empty', | 270 | crypto: 'empty', |
271 | fs: 'empty', | ||
275 | process: false, | 272 | process: false, |
276 | module: false, | 273 | module: false, |
277 | clearImmediate: false, | 274 | clearImmediate: false, |