As a new feature, it would be cool to compress JSON files too. I'm thinking specifically about web manifest files. They are sometimes shipped with the .manifest extension, but have regular JSON content.
Minifying a JSON file can be done quite easily with JSON.stringify(JSON.parse(content)).
As a new feature, it would be cool to compress JSON files too. I'm thinking specifically about web manifest files. They are sometimes shipped with the
.manifest
extension, but have regular JSON content.Minifying a JSON file can be done quite easily with
JSON.stringify(JSON.parse(content))
.