build: Removed jsx-remove-data-test-id usage from code for multi-build-variant testing (#15386)

* enabled customized production build with testIds

* fix for docker

* changed substitution

* changed substitution
This commit is contained in:
adam-stasiak 2021-08-09 18:11:26 +02:00 committed by GitHub
parent 6ac4f4ef2f
commit 578a9e9d53
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

View File

@ -82,5 +82,8 @@ module.exports = {
],
],
},
testableProduction: {
plugins: [],
},
},
};

View File

@ -17,7 +17,7 @@
"prod": "npm run build",
"build-dev": "cross-env NODE_OPTIONS=--max_old_space_size=8192 NODE_ENV=development webpack --mode=development --colors",
"build-instrumented": "cross-env NODE_ENV=development BABEL_ENV=instrumented webpack --mode=development --colors",
"build": "cross-env NODE_OPTIONS=--max_old_space_size=8192 NODE_ENV=production BABEL_ENV=production webpack --mode=production --colors",
"build": "cross-env NODE_OPTIONS=--max_old_space_size=8192 NODE_ENV=production BABEL_ENV=\"${BABEL_ENV:=production}\" webpack --mode=production --colors",
"lint": "eslint --ignore-path=.eslintignore --ext .js,.jsx,.ts,.tsx . && npm run type",
"prettier-check": "prettier --check '{src,stylesheets}/**/*.{css,less,sass,scss}'",
"lint-fix": "eslint --fix --ignore-path=.eslintignore --ext .js,.jsx,.ts,tsx . && npm run clean-css && npm run type",