Skip to content

Support import_prefix and strip_import_prefix attrs in jsonnet_library #155

@dr-dime

Description

@dr-dime

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions