TypeScript Transformer for Removing JSX Test IDs
JSON →This package provides a TypeScript transformer designed to automatically strip `data-test-id` and `data-testid` attributes from JSX elements during the build process, primarily for production builds. It helps clean up the final DOM, removing attributes that are only relevant for testing and debugging, thus preventing unnecessary bloat or exposure of internal testing concerns. The current stable version is 1.1.0, released in October 2020. This project does not follow a strict release cadence, with updates being made as needed. A key differentiator is its implementation as a TypeScript transformer, offering integration into TypeScript compilation workflows (e.g., via webpack with `ts-loader`), as opposed to similar solutions built as Babel plugins.
Traffic · last 30 days ↓86% vs prev 7d
top countries 🇺🇸 United States · 🇨🇦 Canada · 🇩🇪 Germany · 🇫🇷 France