diff --git a/babel.config.js b/babel.config.js index bc97bf102..d39f4685d 100644 --- a/babel.config.js +++ b/babel.config.js @@ -31,9 +31,6 @@ module.exports = api => { }, ], env: { - production: { - plugins: [['react-remove-properties', { properties: ['data-testid'] }]], - }, test: { plugins: [ [ diff --git a/package.json b/package.json index c3a08a19d..3482afffe 100644 --- a/package.json +++ b/package.json @@ -28,7 +28,6 @@ "babel-eslint": "^10.0.3", "babel-loader": "^8.0.6", "babel-plugin-istanbul": "^5.2.0", - "babel-plugin-react-remove-properties": "^0.3.0", "babel-plugin-transform-require-ignore": "^0.1.1", "box-annotations": "^2.3.0", "box-ui-elements": "^12.0.0-beta.10", diff --git a/yarn.lock b/yarn.lock index 31da41325..76da23f20 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2083,11 +2083,6 @@ babel-plugin-istanbul@^5.2.0: istanbul-lib-instrument "^3.3.0" test-exclude "^5.2.3" -babel-plugin-react-remove-properties@^0.3.0: - version "0.3.0" - resolved "https://registry.yarnpkg.com/babel-plugin-react-remove-properties/-/babel-plugin-react-remove-properties-0.3.0.tgz#7b623fb3c424b6efb4edc9b1ae4cc50e7154b87f" - integrity sha512-vbxegtXGyVcUkCvayLzftU95vuvpYFV85pRpeMpohMHeEY46Qe0VNWfkVVcCbaZ12CXHzDFOj0esumATcW83ng== - babel-plugin-transform-require-ignore@^0.1.1: version "0.1.1" resolved "https://registry.yarnpkg.com/babel-plugin-transform-require-ignore/-/babel-plugin-transform-require-ignore-0.1.1.tgz#1abb0f803cc29646dd0057f538fdb4a98d6cb8b2"