vite-plugin-react-remove-attributes

JSON →
library 1.0.3 ·javascript
verified Apr 27, 2026

Vite plugin to remove specified attributes (e.g., data-testid, data-cy) from React components during production builds. Current version 1.0.3 is marked as not fully tested. It filters files based on include/exclude patterns and requires Vite >=2.4.4. Unlike similar tools (e.g., babel-plugin-react-remove-properties), it integrates directly with Vite's build pipeline without additional Babel configuration.

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

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