If you're doing a monorepo I think it's strongly implied that you'll
also use a build system (Blaze/Brazil/BuildXL etc) that has granular compilation units and output caching so build time doesn't scale linearly with the company's total codebase.
It's definitely important to consider before jumping in. Going from 5m to 50m compile times would be a major issue for me.