I'm working with a project that uses this repo as a submodule. Our project runs yarn build (which runs hardhat compile) to generate ABIs for each package.
Unfortunately, we're hitting this issue which was fixed in Hardhat 2.26.2. We tested that version with this repo and yarn build worked fine.
Upgrading hardhat in all packages from 2.12.5 to 2.26.2 would resolve this issue for us and anyone else that depends on this repo as a submodule. Understand if it's not a priority - but figured I'd report nonetheless!