Strip data-testid in production builds (#25152)
This commit is contained in:
@@ -269,6 +269,7 @@ module.exports = (env, argv) => {
|
||||
},
|
||||
loader: "babel-loader",
|
||||
options: {
|
||||
envName: nodeEnv,
|
||||
cacheDirectory: true,
|
||||
},
|
||||
},
|
||||
@@ -434,6 +435,9 @@ module.exports = (env, argv) => {
|
||||
{
|
||||
// TS -> JS because the worklet-loader won't do this for us.
|
||||
loader: "babel-loader",
|
||||
options: {
|
||||
envName: nodeEnv,
|
||||
},
|
||||
},
|
||||
],
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user