Skip to content

Upgrade tsconfig target to es6?Β #329

@peterm-canva

Description

@peterm-canva

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions