Skip to content

Commit d37a072

Browse files
committed
Merge pull request facebook#5350 from ludovicofischer/master
Correct Babel 6 command line usage instructions.
2 parents 76566d9 + 75f3922 commit d37a072

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/docs/09-tooling-integration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ This tool will translate files that use JSX syntax to plain JavaScript files tha
3636

3737
> Note:
3838
>
39-
> 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/)
39+
> 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/)
4040
4141
By default JSX files with a `.js` extension are transformed. Run `babel --help` for more information on how to use Babel.
4242

0 commit comments

Comments
 (0)