A Babel plugin that removes `style` props from React JSX elements, primarily used to simplify snapshot testing by excluding inline styles. Version 0.1.0 is the current and only stable release. It operates as a Babel transform, stripping style attributes during transpilation. Unlike mocking CSS modules or disabling style processing, this plugin provides a brute-force removal without side effects. Developed by Hylozoic, it targets test environments where style details are irrelevant. No updates since initial release; minimal community adoption.
npm install babel-plugin-remove-styleNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Configures the plugin to remove style props in test environment, showing JSX transformation.
Use only in test environment; not for production builds.
Run jest with --no-cache or clear cache manually.
Use full package name: ['babel-plugin-remove-style']
Use require('babel-plugin-remove-style') or in .babelrc as string.No dependency data recorded yet.