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

Upgrade tsconfig target to es6? #329

Open
peterm-canva opened this issue May 22, 2024 · 0 comments
Open

Upgrade tsconfig target to es6? #329

peterm-canva opened this issue May 22, 2024 · 0 comments

Comments

@peterm-canva
Copy link
Contributor

Can we upgrade the tsconfig target to es6, and remove "useDefineForClassFields": true?

It helps parse time, runtime performance and transpiled size to use es6 features natively rather than the transpiled versions.

This saves 300 lines of code in the transpiled output.

I'm not sure if there's any minimum target environment for this project, but es6 has been around a long time now, and there's a benefit to bumping the target.

Happy to send a PR if this is workable.

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

1 participant