website icon indicating copy to clipboard operation
website copied to clipboard

Unclear documentation for babelrc option

Open benmccann opened this issue 6 years ago • 5 comments

The docs for babelrc option do not clearly specify what happens when babelrc: false. Does it stop searching up the directory tree and look just for a single file or does it stop using babelrc files altogether?

It's not behaving the way I'd expect and I'm not sure if that's because it's broken as many people have reported or if it's because I'm making some wrong assumptions about how it should work

benmccann avatar Jul 04 '19 23:07 benmccann

Hey @benmccann! We really appreciate you taking the time to report an issue. The collaborators on this project attempt to help as many people as possible, but we're a limited number of volunteers, so it's possible this won't be addressed swiftly.

If you need any help, or just have general Babel or JavaScript questions, we have a vibrant Slack community that typically always has someone willing to help. You can sign-up here for an invite.

babel-bot avatar Jul 04 '19 23:07 babel-bot

It should disable loading of any babelrc file. Which behavior are you seeing?

nicolo-ribaudo avatar Jul 05 '19 04:07 nicolo-ribaudo

Ok. I have a babelrc and when I change its contents, it still has an effect eventhough I've set babelrc: false. Other users have reported babelrc: false not working as well

benmccann avatar Jul 05 '19 05:07 benmccann

I see it loading the babelrc still

natew avatar Oct 25 '19 03:10 natew

Could you share a repository which shows the bug?

nicolo-ribaudo avatar Oct 25 '19 09:10 nicolo-ribaudo