Skip to content
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

doesn't work on IE11 #65

Closed
sinchang opened this issue Dec 2, 2020 · 2 comments
Closed

doesn't work on IE11 #65

sinchang opened this issue Dec 2, 2020 · 2 comments

Comments

@sinchang
Copy link

sinchang commented Dec 2, 2020

image

seems the compiled code doesn't work on IE 11.

@sinchang
Copy link
Author

sinchang commented Dec 2, 2020

compilerOptions target: ES2015

image

compilerOptions target: ES5

image

so quick solution is change the target to ES5

Ref: https://www.meziantou.net/which-version-of-ecmascript-should-i-use-in-the-typescript-configuration.htm#select-your-target-j

@otakustay
Copy link
Member

Yes, we have target set to ES2015 by design to produce minimum code size and to be compatible with ES modules.

We will discuss this in our team, I don't have a good expectation to change it to ES5, for now I'd recommended you to process these packages via babel

@sinchang sinchang closed this as completed Dec 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants