mirror of
https://github.com/apache/superset.git
synced 2026-04-21 00:54:44 +00:00
Configured babel plugin for removing data-test from production code (#11327)
This commit is contained in:
committed by
GitHub
parent
fd8f4e9215
commit
df15a6fc51
@@ -69,5 +69,15 @@ module.exports = {
|
||||
instrumented: {
|
||||
plugins: ['istanbul'],
|
||||
},
|
||||
production: {
|
||||
plugins: [
|
||||
[
|
||||
'babel-plugin-jsx-remove-data-test-id',
|
||||
{
|
||||
attributes: 'data-test',
|
||||
},
|
||||
],
|
||||
],
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user