code: function(artifact) {
          var result = staticArtifacts[artifact];
  
          !result && modules.some(function(mod) {
              try {
                  result = mod.require(artifact);
                  moduleIndex[artifact] = mod;
                  return true;
              } catch (err) {
                  var msg = "Loader: can't load " + artifact +
                          ' with ' + mod.id +
                          ' error: ' + err.message;//myUtils.errToPrettyStr(err);
                  if ($._.$.log) {
                      $._.$.log.debug(msg);
                  } else {
                      // to display description errors before logger
                      /* eslint-disable */
                      console.log(msg);
                      /* eslint-enable */
                  }
                  return false;
              }
          });
          if (!result) {
              result = require(artifact);
              if (result) {
                  moduleIndex[artifact] = module;
              }
          }
          if (result) {
              var msg = 'Loader: load OK ' + artifact;
              if ($._.$.log) {
                  $._.$.log.debug(msg);
              } else {
                  /* eslint-disable */
                  console.log(msg);
                  /* eslint-enable */
              }
          }
          return result;
      }
docs: Bypass `require` for these artifacts /*
  Loads a description or component implementation using a sequence of
  `module` resolvers.
  
  @param {string} artifact The name of the description or component
  implementation as it would be used in a node.js `require` call.
  
  @return {Object} A description or loaded module.
  
  @throws {Error} When it cannot found the artifact anywhere.