Clear and concise description of the problem
Currently, JSON files contain human-centric, verbose and developer-friendly keys. This is great for development, but in production this is a lot of bytes.
Suggested solution
During bundling, those keys could be minimized into unique short key names. I think this could be done with simple find/replace based on names found in language JSON files, like if there is {"my":{"message": "x"}} tool could search for [\b$]t("my.message" string and replace it.
Alternative
Use cryptic and short key names during development itself.
Additional context
No response
Validations
Clear and concise description of the problem
Currently, JSON files contain human-centric, verbose and developer-friendly keys. This is great for development, but in production this is a lot of bytes.
Suggested solution
During bundling, those keys could be minimized into unique short key names. I think this could be done with simple find/replace based on names found in language JSON files, like if there is
{"my":{"message": "x"}}tool could search for[\b$]t("my.message"string and replace it.Alternative
Use cryptic and short key names during development itself.
Additional context
No response
Validations