mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-06 03:50:26 +02:00
Bundle webtorrent with webpack. Closes https://github.com/Chocobozzz/PeerTube/issues/50
This commit is contained in:
parent
1840c2f7c9
commit
294f80f21e
6 changed files with 6 additions and 19 deletions
|
@ -83,10 +83,6 @@ module.exports = function (env) {
|
|||
libraryTarget: 'var'
|
||||
},
|
||||
|
||||
externals: {
|
||||
webtorrent: 'WebTorrent'
|
||||
},
|
||||
|
||||
module: {
|
||||
|
||||
// Too slow, life is short
|
||||
|
@ -246,6 +242,7 @@ module.exports = function (env) {
|
|||
node: {
|
||||
global: true,
|
||||
crypto: 'empty',
|
||||
fs: 'empty',
|
||||
process: true,
|
||||
module: false,
|
||||
clearImmediate: false,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue