Function: getLanguageEntryPoints()
getLanguageEntryPoints(
languages
,rootDir
,useHMR
):Record
<string
,string
>
Defined in: webpack/languages.ts:64
Returns entry points to use in webpack configurations. These then lead to messageformat compiled modules while also containing some additional runtime code.
Parameters
languages
Record
<string
, string
[]>
Languages object from ima config.
rootDir
string
Current compilation root directory.
useHMR
boolean
= false
Returns
Record
<string
, string
>
Object with webpack entry points.