unplugin-pure

JSON →
library 0.3.2 ·javascript
verified May 1, 2026

Automatically inject /* #__PURE__ */ annotations before specified function calls in Rollup, Vite, esbuild, and rspack builds to improve tree-shaking. Current stable version is 0.3.2 with infrequent releases. Supports all major bundlers via unplugin interface, includes TypeScript types, and allows flexible function matching via functions array and include/exclude patterns. Unlike manual annotations, this plugin automates the process for library authors.

total hits 10
actors 3 distinct systems
last hit 2d ago Bingbot
GPTBot
5
Search engines
1
Humans
1

top countries 🇺🇸 United States · 🇨🇦 Canada · 🇸🇬 Singapore