the-forest/client/node_modules/@babel/plugin-transform-react-pure-annotations/README.md

20 lines
464 B
Markdown
Raw Normal View History

2024-09-17 20:35:18 -04:00
# @babel/plugin-transform-react-pure-annotations
> Mark top-level React method calls as pure for tree shaking
See our website [@babel/plugin-transform-react-pure-annotations](https://babeljs.io/docs/babel-plugin-transform-react-pure-annotations) for more information.
## Install
Using npm:
```sh
npm install --save-dev @babel/plugin-transform-react-pure-annotations
```
or using yarn:
```sh
yarn add @babel/plugin-transform-react-pure-annotations --dev
```