Strip data-testid in production

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
Michael Telatynski 2024-01-05 10:46:39 +00:00
parent 99974e4099
commit 2d26c46c1c
No known key found for this signature in database
GPG key ID: A2B008A5F49F5D0D
3 changed files with 7 additions and 0 deletions

View file

@ -319,6 +319,7 @@ module.exports = (env, argv) => {
loader: "babel-loader",
options: {
cacheDirectory: true,
plugins: enableMinification ? ["babel-plugin-jsx-remove-data-test-id"] : [],
},
},
{