add: mapper-whitelist to the build configuration
add: mapperWhitelist param to the Generator
change: bypass items that are not in the whitelist when generating the map
Description
Provides a way to limit the translations placed in the map. Most probably users would not want all the translations be accessible via dynamic keys coming from somewhere else. In my case I want only the form validations errors exposed to parsel10n
Please check the following boxes
[x] Pull Request title is consistent with the implemented feature, fix etc.
[x] I have followed proper descriptive code style and conventions
[x] The code is self-documenting and has no unnecessary comments. I named the functions and variables to clearly describe their purpose.
[ ] I have added Unit Tests and coverage is 70%+
[x] I have tested and verified this implementation and it works as expected
add: mapper-whitelist to the build configuration add: mapperWhitelist param to the Generator change: bypass items that are not in the whitelist when generating the map
Description
Provides a way to limit the translations placed in the map. Most probably users would not want all the translations be accessible via dynamic keys coming from somewhere else. In my case I want only the form validations errors exposed to parsel10n
Please check the following boxes