Skip to content
This repository has been archived by the owner on Jan 17, 2023. It is now read-only.

Add whatwg-fetch polyfill for older browsers like IE11 #2972

Merged
merged 1 commit into from
Oct 18, 2017

Conversation

lmorchard
Copy link
Contributor

Not super happy with this, since it looks like the vendor bundle is starting to grow again. But, it fixes an error in IE11 (and I assume other older browsers). Issue #2943

@lmorchard
Copy link
Contributor Author

But, looking at the analyzer, this polyfill only adds 12.38kb so 🤷‍♂️

@fzzzy
Copy link
Contributor

fzzzy commented Oct 18, 2017

At some point soon, we could start using script type="module" for browsers that support it, and script nomodule for browsers that don't, meaning we could only ship polyfills and transpiled code to older browsers. It looks like Firefox is the last browser to enable it by default, although it is available behind a flag.

http://caniuse.com/#search=script%20type%3D%22module%22

@fzzzy fzzzy merged commit 2660740 into mozilla:master Oct 18, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants