New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Babel picks up translations in ignored folder #7070
Comments
Hey @mathieudevos! We really appreciate you taking the time to report an issue. The collaborators If you need any help, or just have general Babel or JavaScript questions, we have a vibrant Slack |
According to #5664 (comment), it looks like it's fixed in Babel 7.x. Related: #4708 (comment) |
I've just hit a problem caused by this in 7.0.0-beta.40. I have configured the node_modules folder to be ignored in my project's I expected that, because This strikes me as a redundant check because we know that we'll never parse/transpile files anyway so (I think) that duplicate configs won't matter to me. Rather, they are only the concern of the module author, or developer who doesn't ignore their node_modules folder. I'm aware that there is ongoing? discussion about how hierarchical
If needed I can get a repro up tomorrow evening. |
I think Babel 7 addresses most of these complaints since |
Bug report
Babel is running translations on files which are inside ignored folder(s)
Expected Behavior
Ignore everything inside ignored folder(s)
Current Behavior
Babel translates items inside the folder if it finds things that tell babel to translate is
Possible Solution
Properly ignore folders, don't even check inside them
Context
Cross-linking reference: hawk#277
Basically we have our src folder in our repo, and our dist repo (uncommitted). The build server runs yarn in the src folder, runs all unit tests inside of it.
If this completes it runs babel translation with the following .babelrc
However, taking a look in my build server, I can see the following log:
Hawk has the following items which (I think) is causing this issue:
.babelrc
Hawk already has said they will not fix this issue, and technically, this is a babel issue imho.
The text was updated successfully, but these errors were encountered: