JSPM

  • Created
  • Published
  • Downloads 14823032
  • Score
    100M100P100Q259464F
  • License MIT

Mark top-level React method calls as pure for tree shaking

Package Exports

  • @babel/plugin-transform-react-pure-annotations
  • @babel/plugin-transform-react-pure-annotations/lib/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@babel/plugin-transform-react-pure-annotations) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

@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