Skip to content

Commit

Permalink
Fix --presets use in CLI examples (#262)
Browse files Browse the repository at this point in the history
These probably got copy pasted incorrectly in
#255
  • Loading branch information
goto-bus-stop authored and loganfsmyth committed Sep 3, 2018
1 parent fe31bfb commit 6dfe29f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -19,7 +19,7 @@ $ npm install --save-dev babelify babel-core
### CLI

```sh
$ browserify script.js -o bundle.js -t [ babelify --presets [ "@babel/preset-env", "@babel/preset-react" ] ]
$ browserify script.js -o bundle.js -t [ babelify --presets [ @babel/preset-env @babel/preset-react ] ]
```

### Node
Expand All @@ -46,7 +46,7 @@ Selected options are discussed below. See the [babel](http://babeljs.io/) docs f
Options may be passed in via standard [browserify](https://github.com/substack/node-browserify#btransformtr-opts) ways:

```sh
$ browserify -t [ babelify --presets [ "@babel/preset-env", "@babel/preset-react" ] ]
$ browserify -t [ babelify --presets [ @babel/preset-env @babel/preset-react ] ]
```

```js
Expand Down

0 comments on commit 6dfe29f

Please sign in to comment.