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").`);
409
414
continue;
@@ -446,6 +451,14 @@ class WebpackConfig {
446
451
}
447
452
}
448
453
454
+
configureBabelPresetEnv(callback){
455
+
if(typeofcallback!=='function'){
456
+
thrownewError('Argument 1 to configureBabelPresetEnv() must be a callback function.');
457
+
}
458
+
459
+
this.babelPresetEnvOptionsCallback=callback;
460
+
}
461
+
449
462
configureCssLoader(callback){
450
463
if(typeofcallback!=='function'){
451
464
thrownewError('Argument 1 to configureCssLoader() must be a callback function.');
0 commit comments