-
-
Notifications
You must be signed in to change notification settings - Fork 3.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Guides - Load Polyfills on Demand #938
Comments
I think we can use some of the material @hzoo has written up for babel and babel-preset-env. This could be a nice article. |
Yeah can check out the readme: https://github.com/babel/babel-preset-env#usebuiltins http://www.2ality.com/2017/02/babel-preset-env.html just got published based on that too. Can also suggest just importing individual core-js modules manually as another option. |
If it's not a huge amount of content maybe a nice little section in the shimming guide would do? If not, let's create a new guide and maybe create a "shimming and polyfilling" group within the Guides section (grouping would be tackled separately in #438). |
Has someone taken this? I think is a pretty simple guide to add and I already did that in some projects in my current job so it won't be hard for me. |
No one's claimed it, please feel free to pick it up! |
Good, I'm going to get into this next week probably. |
Everyone, I'm gonna give it a try and add it to the shimming section since I think it belongs there. I'll try to keep it small, if I fail we can always move it to its own section and add more content and references. PR coming soon! |
Add an explanation of how to load polyfills on demand section in the shimming guide. Resolves #938
It would be great if there was an article in documentation which explained main strategies how to load polyfills for ES2016 only when browser not supported it and skip them for evergreen browsers.
The text was updated successfully, but these errors were encountered: