A bit hacky, but for now we paste in the JS generated version of the builder's `target.ts` module. It's quite unlikely to change often, so this is perhaps enough for now.