Skip to content

Commit

Permalink
make installing runtime/transform-runtime clearer [skip ci] (#4991)
Browse files Browse the repository at this point in the history
  • Loading branch information
hzoo committed Dec 12, 2016
1 parent 7b5e6f1 commit 0ed97ce
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions packages/babel-plugin-transform-runtime/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,18 +18,21 @@ See the [technical details](#technical-details) section for more information on

## Installation

**NOTE - Production vs. development dependencies**

In most cases, you should install `babel-plugin-transform-runtime` as a development dependency (with `--save-dev`).

```sh
npm install --save-dev babel-plugin-transform-runtime
```

It is also recommended you install the [babel-runtime](https://www.npmjs.com/package/babel-runtime) package as a runtime dependency, if you haven't already, as the transformed code will require that package. See the examples below for more details.

**NOTE - Production vs. development dependencies**

In most cases, you should install `babel-plugin-transform-runtime` as a development dependency (with `--save-dev`) and `babel-runtime` as a production dependency (with `--save`).
and `babel-runtime` as a production dependency (with `--save`).

The transformation plugin is typically used only in development, but the runtime itself will be depended on by your deployed/published code.
```sh
npm install --save babel-runtime
```

The transformation plugin is typically used only in development, but the runtime itself will be depended on by your deployed/published code. See the examples below for more details.

## Usage

Expand Down

0 comments on commit 0ed97ce

Please sign in to comment.