Skip to content

Latest commit

 

History

History
13 lines (10 loc) · 826 Bytes

pure-notation-compatibility.md

File metadata and controls

13 lines (10 loc) · 826 Bytes

#__PURE__ Notation Compatibility Table

The following table lists the compatibility of the #__PURE__ notation with popular JavaScript bundlers and minifiers. This table is not exhaustive.

Tool Documentation Note
UglifyJS mishoo/UglifyJS#1448
Babel https://babeljs.io/docs/babel-helper-annotate-as-pure
Rollup https://rollupjs.org/configuration-options/#pure
webpack https://webpack.js.org/guides/tree-shaking/
Terser https://terser.org/docs/miscellaneous/#annotations
esbuild https://esbuild.github.io/api/#pure