Dont work with IE11
Closed this issue · 2 comments
Tested with create-react-app here https://github.com/imnstr/cancelable-promise-issue
When CancelablePromise imported then i have message syntex error.
Library babel config preset with target ie11 exists, but dont works.
How to reproduce: start project via ### npm run start and go to ### http://localhost:8080/ using Google Chrome and IE11.
Expected: Hello title on the page and no errors.
Actual: Syntax error in console.
Hi @imnstr, thank you for your report. Indeed browser
export has been added recently in the last release (4.2.1): 566e210, it should fix the webpack build which resolves modules in this order: browser
, module
and main
. Notice that you need a Promise polyfill for IE11, which is not included in your reproduction repo
Hi @alk-sdavid , good, release 4.2.1 resolved this issue, thank you!