You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
require('url') is a big module that also depneds on another not small module punnycode.
url module is redundant in browser environments. Compatible URL object already exists in the global scope there. Removing it significantly reduces output size of web bundles.
Can this require somehow be removed in browser environments?
The text was updated successfully, but these errors were encountered:
const URL = require('url').URL is not a valid export when this package is built with webpack (and browserify too I think). The shim package exports Url instead of URL.
bittorrent-tracker/client.js
Line 8 in 1a075bd
require('url')
is a big module that also depneds on another not small modulepunnycode
.url
module is redundant in browser environments. Compatible URL object already exists in the global scope there. Removing it significantly reduces output size of web bundles.Can this
require
somehow be removed in browser environments?The text was updated successfully, but these errors were encountered: