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
When setting `url.host` on a URL object with no port specified, the
resulting URL's protocol will not change. Workaround this quirk in the
URL standard by explicitely setting port for the http and https
protocols.
Extracted the logic to a function for the purpose of testing it.
Initially I wanted to have the function in utils.js, but it turns out
esbuild can not treeshake the unused functions which would result in the
webcomponents chunk having all of utils.js inlined.
Fixes: #29084
0 commit comments