lib/helpers/indexes.js
function indexTranslations() {
  const { translations = {} } = getComponentsSettings();

  return index({
    file: 'translations.js',
    config: {
      type: TYPE_TRANSLATIONS,
      config: translations,
    },
    defaultContent: 'export default null;\n',
    ...getIndexLogTranslations(TYPE_TRANSLATIONS),
  });
}
function indexTranslations() {
  const { translations = {} } = getComponentsSettings();

  return index({
    file: 'translations.js',
    config: {
      type: TYPE_TRANSLATIONS,
      config: translations,
    },
    defaultContent: 'export default null;\n',
    ...getIndexLogTranslations(TYPE_TRANSLATIONS),
  });
}
function indexTranslations ( ) { const { translations = { } } = getComponentsSettings ( ) ; return index ( { file : 'translations.js' , config : { type : TYPE_TRANSLATIONS , config : translations , } , defaultContent : 'export default null;\n' , ... getIndexLogTranslations ( TYPE_TRANSLATIONS ) , } ) ; }
Indexes the translations from extensions.
@return {Promise}
Indexes the translations from extensions .