Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

babel-plugin-pure-annotations

szhsin379MIT0.1.2

Mark top-level calls as pure for tree shaking

babel, plugin, pure, annotation

readme

Mark top-level calls as pure for tree shaking.

Install

# with npm
npm install -D babel-plugin-pure-annotations

# with Yarn
yarn add -D babel-plugin-pure-annotations

Usage

With babel configuration file:

{
  "plugins": ["pure-annotations"]
}