Skip to content

Commit 3d75834

Browse files
novemberbornsindresorhus
authored andcommitted
Remove Notes section from babelrc documentation
We no longer rewrite paths. Mentioning future uses seems unnecessary. What's left is implicitly covered elsewhere.
1 parent 4f87059 commit 3d75834

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

docs/recipes/babelrc.md

-11
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ There are multiple options for configuring how AVA transpiles your tests using B
1010
- [Transpiling tests and sources the same way](#transpiling-tests-and-sources-the-same-way)
1111
- [Extend your source transpilation configuration](#extend-your-source-transpilation-configuration)
1212
- [Extend an alternate config file (i.e. not `.babelrc`)](#extend-an-alternate-config-file)
13-
- [Notes](#notes)
1413

1514
## AVA's default transpiler behavior
1615

@@ -115,13 +114,3 @@ If, for some reason, your Babel config is not specified in one of the default lo
115114
```
116115

117116
The above uses `babel-test-config.json` as the transpilition config for *sources*, and as the base config for *tests*. For *tests*, it extends that base config with the custom plugins and presets specified.
118-
119-
## Notes
120-
121-
AVA *always* adds a few custom Babel plugins when transpiling your plugins. They serve a variety of functions:
122-
123-
* Enable `power-assert` support.
124-
* Rewrite require paths internal AVA dependencies like `babel-runtime` (important if you are still using `npm@2`).
125-
* [`ava-throws-helper`](https://github.com/avajs/babel-plugin-ava-throws-helper) helps AVA [detect and report](https://github.com/avajs/ava/pull/742) improper use of the `t.throws` assertion.
126-
* Generate test metadata to determine which files should be run first (*future*).
127-
* Static analysis of dependencies for precompilation (*future*).

0 commit comments

Comments
 (0)