babel-plugin-pure-annotations
v0.1.2
Published
Mark top-level calls as pure for tree shaking
Downloads
574
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"]
}