-
Notifications
You must be signed in to change notification settings - Fork 525
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
refactoring: remove obsolete polyfills #6417
base: next
Are you sure you want to change the base?
Conversation
@@ -16,7 +16,6 @@ | |||
<script> | |||
import { createSuitMixin } from '../mixins/suit'; | |||
import { createWidgetMixin } from '../mixins/widget'; | |||
import { _objectSpread } from '../util/polyfills'; |
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.
this is for babel in Vue InstantSearch, not for ie11
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 don't remember well why we resort to this, does the build fail if we use native object spreading in the codebase for Vue?
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.
yes, it was something along those lines, but if it works feel free to change
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.
Alright! I'll check this once I've merged FX-3053 into this branch.
Summary
This PR removes a number of polyfills we had in the library that are no longer necessary following the end of IE11 support.