You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
logger.warning(`The "${normalizedOptionKey}" option of configureBabel() will not be used because your app already provides an external Babel configuration (a ".babelrc" file, ".babelrc.js" file or "babel" key in "package.json").`);
414
410
continue;
@@ -456,6 +452,10 @@ class WebpackConfig {
456
452
thrownewError('Argument 1 to configureBabelPresetEnv() must be a callback function.');
457
453
}
458
454
455
+
if(this.doesBabelRcFileExist()){
456
+
thrownewError('The "callback" argument of configureBabelPresetEnv() will not be used because your app already provides an external Babel configuration (a ".babelrc" file, ".babelrc.js" file or "babel" key in "package.json").');
0 commit comments