{"library":"babel-plugin-remove-test-ids","type":"library","category":null,"description":"This Babel plugin automatically strips specified `data-*` attributes (by default, `data-test-id`) from JSX elements during the build process. Its primary motivation is to clean up the production DOM by removing attributes primarily used for end-to-end testing, potentially reducing bundle size and preventing these attributes from appearing in user-facing code. Developed around a pattern suggested at React Alicante in 2017, the package is currently at version 1.1.0 and was last updated over 8 years ago. Given its lack of recent activity and minimal version changes, it is considered stable but largely unmaintained. Key differentiators include its simplicity and direct integration into the Babel pipeline, providing a compile-time solution for attribute removal without runtime overhead.","language":"javascript","status":"abandoned","version":"1.1.0","tags":["javascript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install babel-plugin-remove-test-ids","imports":["{\n  \"plugins\": [\n    \"remove-test-ids\"\n  ]\n}","{\n  \"plugins\": [\n    [\"remove-test-ids\", { \"attributes\": [\"data-test\", \"data-custom-test-attr\"] }]\n  ]\n}","module.exports = {\n  plugins: [\n    require.resolve('babel-plugin-remove-test-ids')\n  ]\n};"]},{"cmd":"yarn add babel-plugin-remove-test-ids","imports":[]},{"cmd":"pnpm add babel-plugin-remove-test-ids","imports":[]}],"homepage":"https://documentup.com/kutyel/babel-plugin-remove-test-ids","github":"https://github.com/kutyel/babel-plugin-remove-test-ids","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/babel-plugin-remove-test-ids","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/babel-plugin-remove-test-ids/compatibility"}}