Babel, JavaScript

You don’t need plugin-proposal-object-rest-spread with Babel 7

Babel 7 out of the box will transpile object spread operators for you.

Here is an example of it working without the @babel/plugin-proposal-object-rest-spread plugin included.

You do not need to include the @babel/plugin-proposal-object-rest-spread plugin.

Leave a Reply

Your email address will not be published. Required fields are marked *