Skip to content

Add ava/babel as a shortcut for including AVA's Babel presets #1225

Closed
@vadimdemedes

Description

@vadimdemedes

It seems to be a good convention across the community (glamor, next.js, more) to provide a shortcut for auto-including Babel settings. If user wants to customize presets, right now he has to include these presets manually. What I'm proposing:

{
  "presets": [
    "ava/babel",
    "custom-preset"
  ]
}

It would also significantly simplify the creation of tools like ava-preact-init, ava-react-init, ava-inferno-init, etc. If we provide a simple entrypoint for these presets, we won't need to update each of these modules when we change something in our presets.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions