babel-plugin-pure-calls-annotation
JSON →A Babel plugin (v0.4.2, stable, low release cadence) that automatically adds /*#__PURE__*/ comments to call expressions in variable declarators, assignment expressions, call arguments, and other expression contexts. This helps bundlers like Webpack identify side-effect-free calls for tree shaking and dead code elimination. Unlike manual annotation, it eliminates human error and ensures consistent coverage across large codebases. Ships TypeScript types and integrates seamlessly into any Babel-based build pipeline.
Traffic · last 30 days stale · no recent hits
total hits 16
actors 4 distinct systems
last hit 18d ago ByteDance
top countries 🇸🇬 Singapore · 🇺🇸 United States · 🇨🇦 Canada · 🇨🇳 China · 🇩🇪 Germany