I am working on the React-intl for the language translation. I have configured React-inlt in my application, it's working for the single login module. I have a separate language constant file for each module (Login, Register, Dashboard etc). I need to merge all small js/JSON file and need to generate a single js/JSON file. Because I need to import only one file, it should contain all module language data. How to achieve this one? Create appreciate.
<IntlProvider
locale={locale.lang}
messages={languageMsg[locale.lang]}
>