Skip to content

esbuild's default esnext target doesn't include useDefineForClassFields: true, unlike TypeScript #2993

@jpzwarte

Description

@jpzwarte
  --target=...          Environment target (e.g. es2017, chrome58, firefox57,
                        safari11, edge16, node10, ie9, opera45, default esnext)

The above is not true: the default is NOT esnext.

Found this while debugging #2992

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions