Skip to content
This repository has been archived by the owner on Jun 27, 2021. It is now read-only.

Commit

Permalink
Explain the peerDependency a bit more
Browse files Browse the repository at this point in the history
  • Loading branch information
bkonkle committed Feb 2, 2016
1 parent 0020187 commit bbfd9f0
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Expand Up @@ -11,6 +11,12 @@ Install both this preset, and the core 'babel-preset-es2015' that it modifies:
$ npm install --save-dev babel-preset-es2015-loose babel-preset-es2015
```

Why do you need to install both? The idea is that `babel-preset-es2015-loose`
will always be up to date because it will always use the version of
`babel-preset-2015` the user has installed. If you don't want to update to
the latest Babel release - you don't have to. Just pin `babel-preset-2015` to
the version you need.

## Usage

### Via `.babelrc` (Recommended)
Expand Down

0 comments on commit bbfd9f0

Please sign in to comment.