2023-12-18 13:12:25 +08:00
|
|
|
# @babel/plugin-proposal-object-rest-spread
|
|
|
|
|
|
|
|
> Compile object rest and spread to ES5
|
|
|
|
|
2024-01-16 21:26:16 +08:00
|
|
|
See our website [@babel/plugin-proposal-object-rest-spread](https://babeljs.io/docs/en/babel-plugin-proposal-object-rest-spread) for more information.
|
2023-12-18 13:12:25 +08:00
|
|
|
|
|
|
|
## Install
|
|
|
|
|
|
|
|
Using npm:
|
|
|
|
|
|
|
|
```sh
|
|
|
|
npm install --save-dev @babel/plugin-proposal-object-rest-spread
|
|
|
|
```
|
|
|
|
|
|
|
|
or using yarn:
|
|
|
|
|
|
|
|
```sh
|
|
|
|
yarn add @babel/plugin-proposal-object-rest-spread --dev
|
|
|
|
```
|