In light of #139 and #154, I think we should add import_prefix and strip_import_prefix attrs to jsonnet_library to bring virtual includes paths to jsonnet.
proto_library and cc_library had exact same issues in the past, and prefix magic solved the problem. I believe we can do the same for jsonnet.
Speaking of this, I think we also need to improve imports a little bit to make it similar to cc_library in some sense.
In light of #139 and #154, I think we should add
import_prefixandstrip_import_prefixattrs tojsonnet_libraryto bring virtual includes paths to jsonnet.proto_libraryandcc_libraryhad exact same issues in the past, and prefix magic solved the problem. I believe we can do the same for jsonnet.Speaking of this, I think we also need to improve
importsa little bit to make it similar tocc_libraryin some sense.