Closed Schniz closed 2 years ago
Not sure about the name though, would be best if we had urlpattern/ponyfill
and urlpattern/polyfill
😅
Yeah, I am not a fan of the pony name :) Wouldn't it be nicer we we could just import from "urlpattern-polyfill/urlpattern" as that is the name of the object
oh I named it url-pattern
🤦
fixing
Generally this looks fine to me, but I would like Sander to have a look as well
I do like it!
This PR introduces a new exported path:
import 'urlpattern-polyfill/pony'
that will not pollute the global scope and will always provide the polyfill implementation.Notes:
urlpattern-polyfill
will pollute the global scope both in runtime and in TypeScripturlpattern-polyfill/pony
will not pollute the global scope at allRelated: