Here is the code:
const presets = (buildType === "___PROD___") ?
[ "react",
"es2015",
{ "modules" : false }
] : [
"react",
"es2015"
];
As can be see, the values of react, es2015 are being repeated. Is it possible to not have this repetition in the ternary operator?
Best,