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

Set TypeScript target to es2015 #140

Merged
merged 1 commit into from
Nov 11, 2019
Merged

Set TypeScript target to es2015 #140

merged 1 commit into from
Nov 11, 2019

Conversation

trivikr
Copy link
Contributor

@trivikr trivikr commented Sep 29, 2019

Minimal supported version, i.e. Node 6.x supports most es2015 features
Details: https://node.green/#ES2015

@Turbo87
Copy link
Contributor

Turbo87 commented Sep 29, 2019

is there anything wrong with targeting ES5 for the build? since we use TS we can still use most of the new features since they compile down to ES5 🤔

@trivikr
Copy link
Contributor Author

trivikr commented Sep 29, 2019

There's nothing wrong in continuing to use es5, and this PR can be closed

@trivikr
Copy link
Contributor Author

trivikr commented Oct 3, 2019

This PR can be merged if we decide to release 1.0.0 deprecating Node.js 6.x as suggested in #147 (comment)

Node 6.x supports most es2015 features
Details: https://node.green/#ES2015
@trivikr
Copy link
Contributor Author

trivikr commented Nov 11, 2019

@Turbo87 Can we merge this too?

Node 8.x supports all ES2015 features https://node.green/#ES2015

@Turbo87 Turbo87 changed the title chore: target es2015 in tsconfig Set TypeScript target to es2015 Nov 11, 2019
@Turbo87 Turbo87 merged commit 9176a95 into lerna:master Nov 11, 2019
@trivikr trivikr deleted the target-es2015 branch November 11, 2019 21:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants