akameco / babel-plugin-react-intl-auto

i18n for the component age. Auto management react-intl ID.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support adding export name as part of id

Alxandr opened this issue · comments

I have a few messages.js files that look like this:

export const foo = defineMessages({
  ....
});

export default defineMessages({
  ....
});

I would like for there to be an option for the export name to be part of the generated IDs.