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
{{ message }}
Repository navigation
canSkipBabel does not account for overrides, causing Babel to be skipped entirely #1097
When configuring babel.overrides without any top-level plugins or presets, the canSkipBabel function incorrectly determines that Babel can be skipped. This causes override test functions/patterns to never be evaluated, and override plugins to never run.
The test callback is never invoked. No override plugins are applied.
We can probably add babelOptions.overrides.length check.
Out of curiosity, why do you have overrides without any plugins? (I never used the babel overrides option so I don't know its intent)
Activity
ArnaudBarre commentedon Feb 6, 2026
We can probably add
babelOptions.overrides.lengthcheck.Out of curiosity, why do you have overrides without any plugins? (I never used the babel overrides option so I don't know its intent)
gajus commentedon Feb 6, 2026
I want to apply Babel transformations only to parts of the project, that's what overrides without default plugins do.
gajus commentedon Feb 10, 2026
Thank you