- Notifications
You must be signed in to change notification settings - Fork 1.4k
Description
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:
- Code coverage
- JSPM and SystemJS for ES2015
- Precompiling source files with webpack
- Testing React components
- Testing Vue.js components
Let's make this happen! 😃