# HG changeset patch # User cin # Date 2020-10-21 09:48:44 # Node ID ed3c20c09b000386b5204b483955eb61ee662eff # Parent 2b4ec87f7da0b1c93b42ec3bbdbdbf91fe1d2833 Fixed loading i18n with dojo module loader diff --git a/src/main/ts/i18n.ts b/src/main/ts/i18n.ts --- a/src/main/ts/i18n.ts +++ b/src/main/ts/i18n.ts @@ -22,7 +22,7 @@ export function bundle fn.define = (pack: Partial) => pack; fn.default = nlsBundle.default; fn.load = async (id: string, require: Require, cb: OnLoad, config: any) => { - if (config.isBuild) { + if (config && config.isBuild) { cb(); } else { try {