Skip to content

Commit

Permalink
Replace blacklisting with less jargon. Fixes #2654 (#2656)
Browse files Browse the repository at this point in the history
* Replace blacklisting with less jargon. Fixes #2654

I tried with #2655 before but GitHub's Web UI said nope.

Similar to the section on include above, I went with picking up the term here.

Signed-off-by: André Jaenisch <andre.jaenisch@posteo.de>

* Update docs/preset-env.md

Co-authored-by: Huáng Jùnliàng <jlhwung@gmail.com>

Co-authored-by: Huáng Jùnliàng <jlhwung@gmail.com>
  • Loading branch information
Ryuno-Ki and JLHwung committed Jun 20, 2022
1 parent 7690bd6 commit 0d5387b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/preset-env.md
Expand Up @@ -173,7 +173,7 @@ An array of plugins to always exclude/remove.

The possible options are the same as the `include` option.

This option is useful for "blacklisting" a transform like `@babel/plugin-transform-regenerator` if you don't use generators and don't want to include `regeneratorRuntime` (when using `useBuiltIns`) or for using another plugin like [fast-async](https://github.com/MatAtBread/fast-async) instead of [Babel's async-to-gen](plugin-proposal-async-generator-functions.md).
This option is useful for excluding a transform like `@babel/plugin-transform-regenerator` if you don't use generators and don't want to include `regeneratorRuntime` (when using `useBuiltIns`) or for using another plugin like [fast-async](https://github.com/MatAtBread/fast-async) instead of [Babel's async-to-gen](plugin-proposal-async-generator-functions.md).

### `useBuiltIns`

Expand Down

0 comments on commit 0d5387b

Please sign in to comment.