diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2016-06-04 13:08:38 +0200 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2016-06-04 13:08:38 +0200 |
commit | 7f82b8ae377214dd9b3f13a76a5e5f4e963e9425 (patch) | |
tree | 70b9876e599ee510ccf8133418b98daeeb44e4d9 /client/config/webpack.dev.js | |
parent | f0dc9602f9ef507370bf774d953b5b3bc7b75243 (diff) | |
download | PeerTube-7f82b8ae377214dd9b3f13a76a5e5f4e963e9425.tar.gz PeerTube-7f82b8ae377214dd9b3f13a76a5e5f4e963e9425.tar.zst PeerTube-7f82b8ae377214dd9b3f13a76a5e5f4e963e9425.zip |
Use webtorrent as external dependency instead of building it with
webpack
Diffstat (limited to 'client/config/webpack.dev.js')
-rw-r--r-- | client/config/webpack.dev.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/client/config/webpack.dev.js b/client/config/webpack.dev.js index 8c6d1aac7..50193bf58 100644 --- a/client/config/webpack.dev.js +++ b/client/config/webpack.dev.js | |||
@@ -85,6 +85,10 @@ module.exports = webpackMerge(commonConfig, { | |||
85 | 85 | ||
86 | }, | 86 | }, |
87 | 87 | ||
88 | externals: { | ||
89 | webtorrent: 'WebTorrent' | ||
90 | }, | ||
91 | |||
88 | plugins: [ | 92 | plugins: [ |
89 | 93 | ||
90 | /** | 94 | /** |