Skip to content

Port babel-plugin-react-remove-properties to SWC #31333

@timneutkens

Description

@timneutkens

Based on #30174 is being used to remove data-test-id / data-testid in production when testing using testing-library: https://testing-library.com/docs/queries/bytestid/

Metadata

Metadata

Assignees

Labels

SWCRelated to minification/transpilation in Next.js.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions