docs: function injectDependencies(globalConfig) {
    config = globalConfig;
    var stream = config.get('stream');
  
    globalDependenciesSorted = config.get('global-dependencies-sorted');
    ignorePath = config.get('ignore-path');
    fileTypes = config.get('file-types');
  
    if (stream.src) {
      config.set('stream', {
        src: injectScriptsStream(stream.path, stream.src, stream.fileType),
        fileType: stream.fileType
      });
    } else {
      config.get('src').forEach(injectScripts);
    }
  
    return config;
  }