Consider adding a "minifier"/"compiler"-like option to libjsonnet
Open
- Dominant language
- Jsonnet
- Stars
- 7.6k
- Forks
- 475
- PR merge metrics
- No merged PRs in 30d
Description
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.
Contributor guide
Assessment
This issue has not been assessed yet.