-
Notifications
You must be signed in to change notification settings - Fork 29
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
fix(mc-scripts): use unfetch as polyfill #278
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see, good catch! 👌
@@ -1,5 +1,17 @@ | |||
/* eslint-disable global-require */ | |||
|
|||
/** | |||
* NOTE: | |||
* `unfetch` with version 4 sarted to work as a ponyfil. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ponyfill 🤔
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Essentially by importing you always get the library (never the built-in) as a benefit of never overwriting it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if you ever read the outsiders
in high school english class, there would be no way of reading this without thinking of that 😆
e8d4e18
to
eb9d15b
Compare
eb9d15b
to
92ee5bd
Compare
Summary
This pull request re-adds the usage or unfetch as a polyfill. More in the code comment and in app PRs.