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

Use target es2020 as default in tsconfig.json #2457

Closed
frederikhors opened this issue Sep 19, 2021 · 1 comment
Closed

Use target es2020 as default in tsconfig.json #2457

frederikhors opened this issue Sep 19, 2021 · 1 comment

Comments

@frederikhors
Copy link
Contributor

Describe the problem

I think we as world are ready for "target": "es2020" as default when we generate new SvelteKit project.

Aren't we?

Describe the proposed solution

Use "target": "es2020".

Alternatives considered

No response

Importance

would make my life easier

Additional Information

No response

@dummdidumm
Copy link
Member

We have not done this in the past because some we support Node 12.x, and that doesn't support es2020 features, so it would be confusing for new users if they run into a situations where their deploy target does not support the newer features which are not transpiled if the target is es2020. More info in #772 .

@pngwn pngwn closed this as completed Sep 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants