Skip to content

Commit ddde3de

Browse files
enzofereygpetrioli
authored andcommitted
docs(babel-preset-gatsby): document --save-dev flag in README (gatsbyjs#10434)
As it is documented on the preset READMe ([`babel-preset-gatsby`](https://github.com/gatsbyjs/gatsby/tree/master/packages/babel-preset-gatsby)), it should be installed as a devDependency.
1 parent 3338541 commit ddde3de

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/docs/babel.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Gatsby ships with a default .babelrc setup that should work for most sites. If y
2525
to add custom Babel presets or plugins, you can create your own `.babelrc` at the root of your site, import [`babel-preset-gatsby`](https://github.com/gatsbyjs/gatsby/tree/master/packages/babel-preset-gatsby), and overwrite the `target` option.
2626

2727
```bash
28-
npm install --save babel-preset-gatsby
28+
npm install --save-dev babel-preset-gatsby
2929
```
3030

3131
```json5:title=.babelrc

0 commit comments

Comments
 (0)