From b3f17b8f7af766a2829b40120b4dfe265aa04d17 Mon Sep 17 00:00:00 2001 From: Brian Ng Date: Tue, 4 Apr 2017 09:31:01 -0500 Subject: [PATCH] Note babel plugin prefix handling in include/exclude [skip ci] --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 1805bdb8..02d47d5d 100644 --- a/README.md +++ b/README.md @@ -160,7 +160,11 @@ Outputs the targets/plugins used and the version specified in [plugin data versi An array of plugins to always include. -Valid options include any of the [babel plugins](https://github.com/babel/babel-preset-env/blob/master/data/plugin-features.js) or [built-ins](https://github.com/babel/babel-preset-env/blob/master/data/built-in-features.js), such as `transform-es2015-arrow-functions`, `map`, `set`, or `object.assign`. +Valid options include any: + +- [Babel plugins](https://github.com/babel/babel-preset-env/blob/master/data/plugin-features.js) - both with (`babel-plugin-transform-es2015-spread`) and without prefix (`transform-es2015-spread`) are supported. + +- [Built-ins](https://github.com/babel/babel-preset-env/blob/master/data/built-in-features.js), such as `map`, `set`, or `object.assign`. This option is useful if there is a bug in a native implementation, or a combination of a non-supported feature + a supported one doesn't work.