code: async function(dependencies, relative_path_root, search_for_dependencies){ // load dependencies for synchronous injected require types
          /*
              normalize input
          */
          if(typeof dependencies == "undefined") dependencies = [];
  
          /*
              define dependency options to be used for caching the modules
                  - pass relative path root
          */
          var dependency_options = {
              relative_path_root:relative_path_root, // pass relative path root
              search_for_dependencies:search_for_dependencies, // NOTE: this will always be : true. We inject it though to make it clear why that is the case.
                                                               //     and do not worry - if a future module states that it should search for its dependencies, we still will, as the option will be overwritten by that modules settings
          };
  
          /*
              create promises to cache each
          */
          var promises_to_cache_each = [];
          for(var i = 0; i < dependencies.length; i++){ // promise to load each dependency
              let dependency = dependencies[i]; //
              var this_promise = window.clientside_require.asynchronous_require(dependency, dependency_options) // call async require to cache the module
                  .catch((err)=>{
                      console.warn("could not load dependency " + dependency + " found in " + relative_path_root);
                  })
              promises_to_cache_each.push(this_promise);
          }
  
          /*
              resolve only after all are loaded
          */
          return Promise.all(promises_to_cache_each); // note that we do not await each promise individually so that multiple dependencies can load at a time
      }
docs: /*
  promise dependencies are loaded
  - PURPOSE: to preload dependencies for synchronous require injections
  - takes list of 'dependencies' as input and loads each of them into cache
  - waits untill all are fully loaded in cache before resolving