From 3a11e9b4cd34ece0d327fdcf87dc803c3fe491a8 Mon Sep 17 00:00:00 2001 From: Ludovico Fischer Date: Sat, 31 Oct 2015 22:20:06 +0100 Subject: [PATCH] Correct Babel 6 command line usage instructions. The user should install the babel-cli package, see http://babeljs.io/docs/usage/cli/. --- docs/09-tooling-integration.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/09-tooling-integration.md b/docs/09-tooling-integration.md index 7f55eff3..e220f6e2 100644 --- a/docs/09-tooling-integration.md +++ b/docs/09-tooling-integration.md @@ -36,7 +36,7 @@ This tool will translate files that use JSX syntax to plain JavaScript files tha > Note: > -> If you are using babel 6.x, you will need to install the relevant preset/plugins. To get started, you can run `npm install -g babel babel-preset-react` and then run `babel --presets react --watch src/ --out-dir lib/`. For more information: check out the [babel 6 blog post](http://babeljs.io/blog/2015/10/29/6.0.0/) +> If you are using babel 6.x, you will need to install the relevant preset/plugins. To get started, you can run `npm install -g babel-cli`, then `npm i babel-preset-react` and finally run `babel --presets react --watch src/ --out-dir lib/`. For more information: check out the [babel 6 blog post](http://babeljs.io/blog/2015/10/29/6.0.0/) By default JSX files with a `.js` extension are transformed. Run `babel --help` for more information on how to use Babel.