nizarmah / auto-minify

Minifies JS and CSS files in GitHub workflows.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Supporting JSON file minification

pilotkid opened this issue · comments

Hello, I have a project that has a few JSON files in it. Does this action support the modification of JSON files?

commented

Hello @pilotkid! I'm really sorry for this really late response.

The action doesn't support the modification of JSON files.

At the moment, this change will require some significant effort on my end to search for an appropriate library to use for the minification of the JSON files or if I'll need to create a small command to grep all whitespaces and necessary minifications for JSON.

Accordingly, before implementing such a feature, I prefer to wait until more users request such a feature.

If you're still in need of JSON minification, feel free please to open a pull request and ping me for review 😃

@nizarmah how exactly do we vote? I'll add a thumbs-up reaction

Hey @stretch07. Yes, please, give a thumbs up to the original comment.

If you have any suggestions (maybe a discussion post), let me know.