Created
July 18, 2019 19:29
-
-
Save SebDuf/b46e920f4891d07d9beae93fd20d63bf to your computer and use it in GitHub Desktop.
Lean .babelrc demonstrating how to configure react-remove-properties to remove specific attributes
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
"env": { | |
"production": { | |
"plugins": [ | |
[ | |
"react-remove-properties", | |
{ | |
"properties": [ | |
"data-testid" | |
] | |
} | |
] | |
] | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment