Resolve build promise with $ref-resolved object