lib/node/make_slim_config_node.js
function getRelativeBundlePath(target, bundle) {
		var baseUrl = options.baseUrl.replace("file:", "");

		return target !== "web" ?
			getBundleFileName(bundle) :
			path.join(
				path.relative(baseUrl, options.bundlesPath),
				getBundleFileName(bundle)
			);
	}
function getRelativeBundlePath(target, bundle) {
		var baseUrl = options.baseUrl.replace("file:", "");

		return target !== "web" ?
			getBundleFileName(bundle) :
			path.join(
				path.relative(baseUrl, options.bundlesPath),
				getBundleFileName(bundle)
			);
	}
function getRelativeBundlePath ( target , bundle ) { var baseUrl = options . baseUrl . replace ( "file:" , "" ) ; return target !== "web" ? getBundleFileName ( bundle ) : path . join ( path . relative ( baseUrl , options . bundlesPath ) , getBundleFileName ( bundle ) ) ; }
Returns the bundle's path  For nodejs, the name of the bundle is returned since `require` will locate the bundle relative to the main module folder.  For the web, a relative path to the loader baseUrl is returned, so the loader can use script tags to load the bundles during runtime.  @param {string} target - The name of the build target (node, web) @param {Object} bundle - The bundle object @return {string} the relative path
Returns the bundle s path For nodejs the name of the bundle is returned since require will locate the bundle relative to the main module folder . For the web a relative path to the loader baseUrl is returned so the loader can use script tags to load the bundles during runtime .