Skip to content

Commit

Permalink
Merge pull request #147 from kopax/master
Browse files Browse the repository at this point in the history
clarify README.md showing an example excluding helpers with a variable set to true
  • Loading branch information
Rich-Harris authored and Andarist committed Apr 11, 2020
1 parent 5a83da1 commit a341584
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/rollup-plugin-babel/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,9 @@ rollup.rollup({
}).then(...)
```

Finally, if you do not wish the babel helpers to be included in your bundle at all (but instead reference the global `babelHelpers` object), you may set the `externalHelpers` option to `true`:
By default `externalHelpers` option is set to `false` so babel helpers will be included in your bundle.

If you do not wish the babel helpers to be included in your bundle at all (but instead reference the global `babelHelpers` object), you may set the `externalHelpers` option to `true`:

```js
rollup.rollup({
Expand Down

0 comments on commit a341584

Please sign in to comment.