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

fix(promise-polyfill): remove babel-polyfill and let babel do magic #726

Merged
merged 1 commit into from
Feb 5, 2019

Conversation

JonathanMontane
Copy link
Contributor

Summary
The polyfills we introduced to support IE11 created an issue with the usage of Promise.finally due to a bug in the way Babel checks for the polyfill usage: babel/babel#8297 (comment)

This PR removes @babel/polyfill and uses an alternative syntax for Object.assign that is automatically polyfilled by babel #magic

Result
Search works and .finally works in Firefox and in IE11

image

image

Copy link
Contributor

@raphi raphi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@JonathanMontane JonathanMontane merged commit be9170b into master Feb 5, 2019
@JonathanMontane JonathanMontane deleted the fix/promise-polyfill branch April 1, 2019 09:12
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants