From 2e0bf4586cfbde46fd1509d192900dfba8514f08 Mon Sep 17 00:00:00 2001 From: Peter Robins Date: Thu, 2 Feb 2017 13:43:36 +0000 Subject: [PATCH] Readme: plugin options cannot be set in babili cmd --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index bffa15b59..b3bedbef8 100644 --- a/README.md +++ b/README.md @@ -88,6 +88,8 @@ Equivalent to: babel src -d lib --presets=babili --no-babelrc ``` +Note that, because the `babili` command uses the default preset with `no-babelrc`, you cannot set any non-default options in the preset's plugins with this command. To do this, you can use the `babel` command with the options set in a `.babelrc`. See the preset docs for more information on how to do this. + ## [Babel preset](http://babeljs.io/docs/plugins/#presets) | Package | Version | Dependencies |