Update transform-es2015 READMEs from babel.github.io [skip ci] (#4926)

Signed-off-by: Brian Ng <bng412@gmail.com>
This commit is contained in:
Brian Ng
2016-12-01 15:11:36 -06:00
committed by Henry Zhu
parent 723c90e8f0
commit f71efbce92
22 changed files with 469 additions and 21 deletions

View File

@@ -1,6 +1,6 @@
# babel-plugin-transform-es2015-computed-properties
Compile ES2015 computed properties to ES5
> Compile ES2015 computed properties to ES5
## Installation
@@ -43,3 +43,9 @@ require("babel-core").transform("code", {
plugins: ["transform-es2015-computed-properties"]
});
```
## Options
* `loose` - Just like method assignment in classes, in loose mode, computed property names
use simple assignments instead of being defined. This is unlikely to be an issue
in production code.