[feature] Injection API support (intl.formatMessage)
jmarceli opened this issue · comments
Thanks for this plugin and your time spent on its development.
Do you have any plans for adding Injection API support?
Currently, the following code won't be extracted and id won't be autogenerated:
intl.formatMessage({ defaultMessage: 'Hello' })
As far as I'm aware in babel-plugin-react-intl there is already a PR waiting for a merge with this feature supported (formatjs/babel-plugin-react-intl#165).
I would be happy to help with implementation but I have no experience with Babel plugins development.
If that PR is merged, I will implement it.