ESBuild plugin to remove data-testid attributes from JSX/TSX during build. Current version is 0.0.5 (no recent updates, appears unmaintained). The author deprecated it in favor of esbuild-plugin-react18, which provides additional options and control. Differentiator: simple API but deprecated and superseded by a more comprehensive plugin.
npm install esbuild-plugin-removetestidNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Example tsup configuration using the plugin to remove data-testid attributes from output during build.
Switch to esbuild-plugin-react18, which offers more features and control.
Use esbuild-plugin-react18 or configure custom attribute if needed.
Ensure your JSX/TSX files are properly configured as esbuild's 'tsx' or 'jsx' loader.
Run 'npm install esbuild-plugin-removetestid' or check that dependency is listed in package.json.
Use 'import removeTestidPlugin from "esbuild-plugin-removetestid"'.
No dependency data recorded yet.