Merge pull request #5380 from babel/extra-do + 6.x commits

This commit is contained in:
Henry Zhu
2017-02-25 18:48:27 -05:00
committed by GitHub
19 changed files with 99 additions and 44 deletions

View File

@@ -41,13 +41,15 @@ This plugin will use babel's `extends` helper, which will polyfill `Object.assig
* `useBuiltIns` - Do not use Babel's helper's and just transform to use the built-in method (Disabled by default).
```js
```json
{
"plugins": [
["transform-object-rest-spread", { "useBuiltIns": true }]
]
}
```
```js
// source
z = { x, ...y };
// compiled