mirror of
https://github.com/hanzoai/babel.git
synced 2026-09-24 16:56:45 +00: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 for more information.
Install
Using npm:
npm install --save-dev @babel/plugin-transform-react-pure-annotations
or using yarn:
yarn add @babel/plugin-transform-react-pure-annotations --dev