Skip to content

Help update recipes for Babel 7 #1662

@novemberborn

Description

@novemberborn

We're upgrading AVA to use Babel 7. As part of this the way you configure AVA's Babel pipeline has changed.

There are various recipes which either use Babel 6 dependencies or AVA's previous configuration. For some recipes we just need to update the dependencies and configuration, for others we may need to test them a bit to make sure everything still works with Babel 7 in the mix.

Babel 7 uses the @babel scope on npm. Typically dependencies are renamed from babel-plugin-transform-something to @babel/plugin-transform-something.

AVA's configuration places the Babel options inside a testOptions key:

{ "ava": { "babel": { "testOptions": {} } } }

inherits has been removed, since it has become the default behavior. default has also been removed. See the Babel recipe for all the details.

Here's the recipes that need updating:

Let's make this happen! 😃

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions