rollup-plugin-jsx-remove-attributes

JSON →
library 3.1.2 ·javascript
verified Apr 27, 2026

A Rollup and Vite plugin to remove specified JSX attributes (e.g., data-testid) from production builds, reducing bundle size. Current version 3.1.2, requires Node >=20.8.0. Supports Rollup and Vite, with Preact support added in v3.1.0. Key differentiator: simple configuration for stripping test-only attributes without Babel plugin overhead. Active development, peer deps include @rollup/pluginutils, astring, estree-walker, and Vite >=5.2. Ships TypeScript types.

total hits 11
actors 3 distinct systems
last hit 1d ago AhrefsBot
GPTBot
5
ClaudeBot
1
Humans
2

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