diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-06-11 15:25:36 +0200 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-06-11 15:58:27 +0200 |
commit | 294f80f21e8a77d25f6fb5f0f26887fb4618ee2e (patch) | |
tree | 01e0016e7ae7edfc87e2ba9861436aedce89993b /client/config/webpack.dev.js | |
parent | 1840c2f7c91f5f89602a3683d85b0a9df1454855 (diff) | |
download | PeerTube-294f80f21e8a77d25f6fb5f0f26887fb4618ee2e.tar.gz PeerTube-294f80f21e8a77d25f6fb5f0f26887fb4618ee2e.tar.zst PeerTube-294f80f21e8a77d25f6fb5f0f26887fb4618ee2e.zip |
Bundle webtorrent with webpack. Closes https://github.com/Chocobozzz/PeerTube/issues/50
Diffstat (limited to 'client/config/webpack.dev.js')
-rw-r--r-- | client/config/webpack.dev.js | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/client/config/webpack.dev.js b/client/config/webpack.dev.js index d6ebed730..42d9ca37e 100644 --- a/client/config/webpack.dev.js +++ b/client/config/webpack.dev.js | |||
@@ -83,10 +83,6 @@ module.exports = function (env) { | |||
83 | libraryTarget: 'var' | 83 | libraryTarget: 'var' |
84 | }, | 84 | }, |
85 | 85 | ||
86 | externals: { | ||
87 | webtorrent: 'WebTorrent' | ||
88 | }, | ||
89 | |||
90 | module: { | 86 | module: { |
91 | 87 | ||
92 | // Too slow, life is short | 88 | // Too slow, life is short |
@@ -246,6 +242,7 @@ module.exports = function (env) { | |||
246 | node: { | 242 | node: { |
247 | global: true, | 243 | global: true, |
248 | crypto: 'empty', | 244 | crypto: 'empty', |
245 | fs: 'empty', | ||
249 | process: true, | 246 | process: true, |
250 | module: false, | 247 | module: false, |
251 | clearImmediate: false, | 248 | clearImmediate: false, |