-
-
Notifications
You must be signed in to change notification settings - Fork 45
Open
Description
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
- Read the Contributing Guidelines.
- Read the README
- Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
Metadata
Metadata
Assignees
Labels
No labels