Skip to content

Bump default build.target #19358

@sapphi-red

Description

@sapphi-red

Description

The current default build.target is a bit outdated.

es2020
edge88
firefox78
chrome87
safari14

The reasons why this should be bumped:

Suggested solution

I propose bumping the target to:

es2021
edge91
firefox79
chrome91
safari14

this allows optional chaining and logical assignments to be kept as-is.
Maybe it can be bumped further more, but I think we should bump to this range at least.

I also propose renaming the special 'modules' target to 'defaults' as it has been used as a default / recommended rather than the modules target (chrome60,firefox60,safari11).

Alternative

No response

Additional context

No response

Validations

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Has plan

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions