Skip to main content

Function: compileLanguages()

compileLanguages(imaConfig, rootDir, watch): Promise<void>

Defined in: webpack/languages.ts:203

Compile language files defined in imaConfig.

Parameters

imaConfig

ImaConfig

ima.config.js file contents.

rootDir

string

Current compilation root directory.

watch

boolean = false

When set to true, it creates chokidar instances which watch language files for changes and trigger recompilation.

Returns

Promise<void>