code: function config(opts) {
    if (!opts) return;
    if (opts.baseUrl) _baseUrl = parse(opts.baseUrl).bareId + '/';
  
    if (opts.paths) {
      Object.keys(opts.paths).forEach(path => {
        let alias = opts.paths[path];
        _paths[cleanPath(path)] = cleanPath(alias);
      });
    }
  
    if (opts.bundles) {
      Object.keys(opts.bundles).forEach(bundleName => {
        const spaces = opts.bundles[bundleName];
        if (Array.isArray(spaces)) {
          _bundles[bundleName] = {
            user: arrayToHash(spaces),
            package: arrayToHash([])
          };
        } else {
          _bundles[bundleName] = {
            nameSpace: spaces.nameSpace || null,
            user: arrayToHash(spaces.user || []),
            package: arrayToHash(spaces.package || [])
          };
        }
      });
    }
  }
docs: minimum support of requirejs config baseUrl paths, relative to baseUrl bundles, for code splitting