I have a usecase in which I would love to have an equivalent to a javascript "minifier".
That is, a tool which reads a jsonnet file, resolves imports, performs static analysis etc, but instead of then evaluating the jsonnet, it simply returns a string of text that contains all the jsonnet input, in a single file (optionally without comments, and other configuration).
I don't see a way of currently doing this with the existing tooling, but it seems like it should be relatively accomplishable given what's already present.
I have a usecase in which I would love to have an equivalent to a javascript "minifier".
That is, a tool which reads a jsonnet file, resolves imports, performs static analysis etc, but instead of then evaluating the jsonnet, it simply returns a string of text that contains all the jsonnet input, in a single file (optionally without comments, and other configuration).
I don't see a way of currently doing this with the existing tooling, but it seems like it should be relatively accomplishable given what's already present.