Skip to content

Use babel-preset-env instead of 2015 #196

@itsMapleLeaf

Description

@itsMapleLeaf

Do you want to request a feature or report a bug?
Feature.

What is the current behavior?
The CLI initializes a project with the 2015 preset.

What is the expected behavior?
The CLI should use the env preset instead.

If this is a feature request, what is motivation or use case for changing the behavior?
It does the same as 2015, with additional fine-grained control for environment targets if the user cares to configure it. Also gets rid of the warning, bothersome or even confusing to some users.

I'd be happy to create a pull request for this 🙂

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions