Skip to content

Chore: Update target from esnext to es5#11

Open
raroul wants to merge 1 commit intomasterfrom
chore/target-es5
Open

Chore: Update target from esnext to es5#11
raroul wants to merge 1 commit intomasterfrom
chore/target-es5

Conversation

@raroul
Copy link
Member

@raroul raroul commented Sep 27, 2020

We shouldn't transpile client ts code to esnext because very few browsers support all features of es2020 right now. es5 seems to be a the right fit between ts default (es3) and today's browser support. For example with esnext as a target, optionnal chaining is not transpiled.

We shouldn't transpile client ts code to esnext because very few browsers support all features of es2020 right now. es5 seems to be a the right fit between ts default (es3) and today's browser support. For example with esnext as a target, optionnal chaining is not transpiled.
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

Successfully merging this pull request may close these issues.

1 participant