Skip to content

Use core-js URL polyfill instead of whatwg-url

Warren Gifford requested to merge core-js-url-polyfill into master

Created by: felixfbecker

whatwg-url has a very large bundle size, because it is basically the pure-JS reference implementation, including a lot of details with domain encoding, punycode, etc. It's not intended as polyfill.

This reduces our bundle size by 28% (0.692MB -> 0.499MB, Δ ~200KB)

Verified that core-js URL parses out hostnames properly from custom hosts (git://), which is the primary thing we care about.

Merge request reports

Loading