编辑 | blame | 历史 | 原始文档

@babel/helper-annotate-as-pure

Helper function to annotate paths and nodes with #__PURE__ comment

See our website @babel/helper-annotate-as-pure for more information.

Install

Using npm:

npm install --save @babel/helper-annotate-as-pure

or using yarn:

yarn add @babel/helper-annotate-as-pure