My Dgraph project substantially consists of generic, template-heavy code -- the kind of stuff which in C++ would probably be provided as Boost-style headers with no "source" files. From a DUB point of view, what that means is that if DUB builds a libdgraph.a static library, which is then compiled into other executables, there's a speed hit by comparison with those files just compiling in the dgraph source.

Is there a recommended way to specify in package.json that a package should (or could) be treated as a "header library", where dependent code should just build stuff in via module imports, rather than via linking in a prebuilt library?