I am building a Webpack plugin that needs to remove attributes from React components at build time.
For example, the source code could look something like this: