src/build-scripts/map-path-inverse.js
function addPath(path, name) {
		// This will add a path -> name mapping, so that paths may be later
		// resolved to module names, as well as a filesystem full path to
		// module mapping, in case the `paths` value contains relative paths
		// (e.g. `../`, see issue #2).
		var fullPath = (pathModule.normalize(pathModule.join(baseFullUrl,path)) + ".js").replace(/\\/g,"/");
		inversePaths[path] = name;
		inversePaths[fullPath] = name;
	}
function addPath(path, name) {
		// This will add a path -> name mapping, so that paths may be later
		// resolved to module names, as well as a filesystem full path to
		// module mapping, in case the `paths` value contains relative paths
		// (e.g. `../`, see issue #2).
		var fullPath = (pathModule.normalize(pathModule.join(baseFullUrl,path)) + ".js").replace(/\\/g,"/");
		inversePaths[path] = name;
		inversePaths[fullPath] = name;
	}
function addPath ( path , name ) { // This will add a path -> name mapping, so that paths may be later // resolved to module names, as well as a filesystem full path to // module mapping, in case the `paths` value contains relative paths // (e.g. `../`, see issue #2). var fullPath = ( pathModule . normalize ( pathModule . join ( baseFullUrl , path ) ) + ".js" ) . replace ( / \\ / g , "/" ) ; inversePaths [ path ] = name ; inversePaths [ fullPath ] = name ; }
Add the module to the inverse path mappings.
Add the module to the inverse path mappings .