I has been proposed some time ago already and I am still strictly
against it. It greatly reduces predictability of compiler
invocations which causes problems for larger projects while
slightly improving experience of scripters and hobbyists. Not a
good trade-off.
It also can't work that way without imposing new restrictions on
dub registry as currently it is legal to have same package names
in different packages (which is a nice feature to keep).
At the same time convenience gain over simply using dub instead
of dmd is almost neglectible.