configureBabel currently has 2 arguments:
- a mandatory callback altering the Babel config
- an options argument allowing to configure some settings of the loader rule (excluding node modules or no for instance)
As the callback is incompatible with the usage of an external Babel config, this method throws an error when using it that way. But that means there is no way to configure options in such case.