When requiring('babel/register)() even if I tell it a custom .babelrc path it still loads the original .babelrc too. How can I prohibit it to read .babelrc?
The answer is this is impossible and therefore you should specify your custom BABEL_ENV each time you're using Babel and in your .babelrc you make an "env" section with configuration for each of your BABEL_ENV
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With