adds `resolve.depDirname` and related methods