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
thrownewError('The "callback" argument of configureBabel() will not be used because your app already provides an external Babel configuration (e.g. a ".babelrc" or "babel.config.js" file or "babel" key in "package.json"). Use null as the first argument to remove this error.');
thrownewError('The "callback" argument of configureBabel() will not be used because your app already provides an external Babel configuration (e.g. a ".babelrc" or "babel.config.js" file or "babel" key in "package.json"). Use null as the first argument to remove this error.');
176
168
}
177
169
178
170
// Check from configureBabel(): warn about options that won't be applied
@@ -187,14 +179,10 @@ class ConfigGenerator {
187
179
}
188
180
}
189
181
190
-
// Check from configureBabelPresetEnv(): if a non-default callback was
191
-
// provided and an external Babel config exists, that's an error.
thrownewError('The "callback" argument of configureBabelPresetEnv() will not be used because your app already provides an external Babel configuration (e.g. a ".babelrc" or "babel.config.js" file or "babel" key in "package.json").');
197
-
}
182
+
// Check from configureBabelPresetEnv(): if configureBabelPresetEnv()
183
+
// was called and an external Babel config exists, that's an error.
thrownewError('The "callback" argument of configureBabelPresetEnv() will not be used because your app already provides an external Babel configuration (e.g. a ".babelrc" or "babel.config.js" file or "babel" key in "package.json").');
0 commit comments