You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
467 B
19 lines
467 B
# @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/en/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 |
|
```
|
|
|