diff --git a/techs/i18n.js b/techs/i18n.js index e31d5fc..9fc4524 100644 --- a/techs/i18n.js +++ b/techs/i18n.js @@ -100,6 +100,9 @@ module.exports = require('enb/lib/build-flow').create() '', globals && [ ' if (defineAsGlobal) {', + ' var __bem__ = (typeof BEM !== \'undefined\') ? BEM : {};', + ' __bem__.I18N = __i18n__;', + '', ' global.BEM || (global.BEM = {});', ' global.BEM.I18N = __i18n__;', ' }'