aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2016-06-04 13:08:38 +0200
committerChocobozzz <florian.bigard@gmail.com>2016-06-04 13:08:38 +0200
commit7f82b8ae377214dd9b3f13a76a5e5f4e963e9425 (patch)
tree70b9876e599ee510ccf8133418b98daeeb44e4d9 /client/src
parentf0dc9602f9ef507370bf774d953b5b3bc7b75243 (diff)
downloadPeerTube-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/src')
-rw-r--r--client/src/index.html3
-rw-r--r--client/src/vendor.ts2
2 files changed, 3 insertions, 2 deletions
diff --git a/client/src/index.html b/client/src/index.html
index 83f4cc8f0..c45ab6b6f 100644
--- a/client/src/index.html
+++ b/client/src/index.html
@@ -8,6 +8,9 @@
8 <meta name="viewport" content="width=device-width, initial-scale=1"> 8 <meta name="viewport" content="width=device-width, initial-scale=1">
9 9
10 <link rel="icon" href="/client/assets/favicon.ico" /> 10 <link rel="icon" href="/client/assets/favicon.ico" />
11
12 <!-- TODO: bundle it with webpack when https://github.com/webpack/webpack/pull/1931 will be merged -->
13 <script src="/client/assets/webtorrent/webtorrent.min.js"></script>
11 </head> 14 </head>
12 15
13 <!-- 3. Display the application --> 16 <!-- 3. Display the application -->
diff --git a/client/src/vendor.ts b/client/src/vendor.ts
index dcc4439db..6d7ebc3b4 100644
--- a/client/src/vendor.ts
+++ b/client/src/vendor.ts
@@ -19,5 +19,3 @@ import 'jquery';
19import 'bootstrap-loader'; 19import 'bootstrap-loader';
20import 'jquery.ui.widget/jquery.ui.widget'; 20import 'jquery.ui.widget/jquery.ui.widget';
21import 'blueimp-file-upload'; 21import 'blueimp-file-upload';
22// TODO: build webtorrent with webpack when https://github.com/webpack/webpack/pull/1931 will be merged
23import 'webtorrent/webtorrent.min';