packages/tools/index.js
function loadJspmConfig(opts) {
  sh.echo('Loading jspm config...');

  return new Promise(resolve => {
    const loader = new jspm.Loader();

    opts.config(loader);
    resolve(loader);
  });
}
function loadJspmConfig(opts) {
  sh.echo('Loading jspm config...');

  return new Promise(resolve => {
    const loader = new jspm.Loader();

    opts.config(loader);
    resolve(loader);
  });
}
function loadJspmConfig ( opts ) { sh . echo ( 'Loading jspm config...' ) ; return new Promise ( resolve => { const loader = new jspm . Loader ( ) ; opts . config ( loader ) ; resolve ( loader ) ; } ) ; }
Resolve with a module loader.

@param  {{config: function}} opts options
@return {Promise<jspm.Loader, Error>}
Resolve with a module loader .