lib/bundle/make_bundles_config.js
function getBundlesPaths(configuration){
	// If a bundlesPath is not provided, the paths are not needed because they are
	// already set up in steal.js
	if(!configuration.loader.bundlesPath) {
		return "";
	}
	var bundlesPath = configuration.bundlesPathURL;

	// Get the dist directory and set the paths output
	var paths = util.format('\tSystem.paths["bundles/*.css"] ="%s/*css";\n' +
													'\tSystem.paths["bundles/*"] = "%s/*.js";\n',
													bundlesPath, bundlesPath);
	return "if(!System.bundlesPath) {\n" + paths + "}\n";
}
function getBundlesPaths(configuration){
	// If a bundlesPath is not provided, the paths are not needed because they are
	// already set up in steal.js
	if(!configuration.loader.bundlesPath) {
		return "";
	}
	var bundlesPath = configuration.bundlesPathURL;

	// Get the dist directory and set the paths output
	var paths = util.format('\tSystem.paths["bundles/*.css"] ="%s/*css";\n' +
													'\tSystem.paths["bundles/*"] = "%s/*.js";\n',
													bundlesPath, bundlesPath);
	return "if(!System.bundlesPath) {\n" + paths + "}\n";
}
function getBundlesPaths ( configuration ) { // If a bundlesPath is not provided, the paths are not needed because they are // already set up in steal.js if ( ! configuration . loader . bundlesPath ) { return "" ; } var bundlesPath = configuration . bundlesPathURL ; // Get the dist directory and set the paths output var paths = util . format ( '\tSystem.paths["bundles/*.css"] ="%s/*css";\n' + '\tSystem.paths["bundles/*"] = "%s/*.js";\n' , bundlesPath , bundlesPath ) ; return "if(!System.bundlesPath) {\n" + paths + "}\n" ; }
Get the System.paths needed to map bundles, if a different bundlesPath is provided.
Get the System . paths needed to map bundles if a different bundlesPath is provided .