On Saturday, 28 October 2017 at 19:23:42 UTC, ikod wrote:
So default version is "std", I can build it w/o vibe-d, but dub anyway fetch vibe-d.I'd like dub fetch vibe-d only when I build with --config vibed.
As far as I know, that isn't possible. A package is either optional, or it isn't. It certainly would be a useful feature to have. Perhaps create an enhancement request for it if there isn't one already.
https://github.com/dlang/dub/issues