Skip to content

Update build tools to utilize the newer build targets #7247

@janechu

Description

@janechu

Background

We are currently targetting ES6 in the root but overriding it in each package. The override is ES2015 which causes tslib to downshift async/await which is currently being used by hydration.

Requirements

Target ES2017 or ES2022 which will prevent unnecessary transpilation of various newer operators and paradigms.

Note: we may need to update our configuration using useDefineForClassFields to false and remove unnecessary compiler lib items.

Related issue #5017

Metadata

Metadata

Assignees

No one assigned

    Labels

    breaking-changeA breaking change to a shipping package

    Type

    No type

    Projects

    Status

    Triage

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions