Variables
mmir
mmir
: NodeMmirModule = (mmirLib as MmirModule as NodeMmirModule).init(function(mmir){mmir.startModule = 'mmirf/main-minimal';((mmirLib as any)._config || mmirLib.config).paths['mmirf/main-minimal'] = path.join(__dirname, 'main-minimal');mmir.config({config: {'mmirf/configurationManager': {configuration: {}},'mmirf/commonUtils': {directories: {}}}});})
Functions
checkBuildOptions
- checkBuildOptions(buildConfig: BuildConfig, resType: string | string[], resTypeMessage: string): void
-
Parameters
-
-
resType: string | string[]
-
resTypeMessage: string
Returns void
compileResources
- compileResources(mmirAppConfig: BuildAppConfig): Promise<Array<Error | Error[]> | any>[]
-
Parameters
Returns Promise<Array<Error | Error[]> | any>[]
getErrors
- getErrors(taskResults: Error | Array<Error | Error[] | any>): Error[]
-
Parameters
-
taskResults: Error | Array<Error | Error[] | any>
Returns Error[]
getTargetDir
-
Parameters
-
-
-
optType: "grammar" | "view" | "state"
Returns any
resolveTargetDir
- resolveTargetDir(appDir: string, targetDir: string): string
-
Parameters
-
appDir: string
-
targetDir: string
Returns string
HELPER disable build options that are not supported in "bare build"
NOTE these may be supported in other integrations, e.g. via webpack