I want my library to work with both versions of these compilers, so I'm distributing both a classic-style "mypackage.all" module and the new package module-style "package.d" file. However dub will not work if it finds a "package.d" file and uses an older compiler, it seems to automatically include it in the build process.

Can we add an exclude file in the package configuration but only if a specific version of a compiler is being ran?