Permalink
Browse files

Docs: Freshen installation guide for Babel 7

  • Loading branch information...
javan committed Sep 3, 2018
1 parent cd4af49 commit 1d275fc3f2204399d5fa844816b6bfac965d9a67
Showing with 3 additions and 3 deletions.
  1. +3 −3 docs/handbook/06_installing_stimulus.md
@@ -61,13 +61,13 @@ application.register("clipboard", ClipboardController)

## Using Babel

If you're using [Babel](https://babeljs.io/) with your build system, you'll need to install the [transform-class-properties plugin](https://babeljs.io/docs/plugins/transform-class-properties/) and add it to your configuration:
If you're using [Babel](https://babeljs.io/) with your build system, you'll need to install the [@babel/plugin-proposal-class-properties](https://babeljs.io/docs/en/babel-plugin-proposal-class-properties) and add it to your configuration:

```js
// .babelrc
{
"presets": ["env"],
"plugins": ["transform-class-properties"]
"presets": ["@babel/preset-env"],
"plugins": ["@babel/plugin-proposal-class-properties"]
}
```

0 comments on commit 1d275fc

Please sign in to comment.