Babel 7 rootMode upward changes monorepo config resolution across package boundaries
Babel 7 introduced a split between project-wide babel.config.js and file-relative .babelrc , creating a compatibility boundary for monorepo layouts. In a repository with multiple packages, enabling rootMode: "upward" allows Babel to search ancestor directories for a shared babel.config.js , but the exact interaction with .babelrc package boundaries and the r