0.1.2 • Published 3 years ago
babel-plugin-pure-annotations v0.1.2
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"]
}