Add yarn example. (#174)
This commit is contained in:
parent
8e05140280
commit
2d1768209d
@ -70,10 +70,18 @@ Ref: [#19](https://github.com/babel/babel-preset-env/pull/19)
|
||||
|
||||
## Install
|
||||
|
||||
With [npm](https://www.npmjs.com):
|
||||
|
||||
```sh
|
||||
npm install --save-dev babel-preset-env
|
||||
```
|
||||
|
||||
Or [yarn](https://yarnpkg.com):
|
||||
|
||||
```sh
|
||||
yarn add babel-preset-env --dev
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
The default behavior without options runs all transforms (behaves the same as [babel-preset-latest](https://babeljs.io/docs/plugins/preset-latest/)).
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user