Skip to content

Commit

Permalink
Remove caveat from transform-object-rest-spread.md (#1039)
Browse files Browse the repository at this point in the history
  • Loading branch information
kaicataldo authored and hzoo committed Dec 6, 2016
1 parent f1e7683 commit 80f483d
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions docs/plugins/transform-object-rest-spread.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,4 @@ permalink: /docs/plugins/transform-object-rest-spread/
package: babel-plugin-transform-object-rest-spread
---

<blockquote class="babel-callout babel-callout-warning">
<h4>Object Rest currently depends on the destructuring transform and parameters transform</h4>
<p>Even if you are using Node 6 or a platform that supports destructuring, <a href="/docs/plugins/transform-es2015-destructuring">transform-es2015-destructuring</a> and <a href="/docs/plugins/transform-es2015-parameters">transform-es2015-parameters</a> will currently need to be enabled if using object rest properties.</p>
<p>There is a PR open to fix this and make this transform standalone: <a href="https://github.com/babel/babel/pull/4755">babel/babel#4755</a></p>
</blockquote>

{% include package_readme.html %}
{% include package_readme.html %}

0 comments on commit 80f483d

Please sign in to comment.