resolver/resolver.js
function convert_to_alloy_path(resolved_path) {
	var parsed_path = path.posix.parse(resolved_path);
	return path.posix.join(parsed_path.dir, parsed_path.name);
}
function convert_to_alloy_path(resolved_path) {
	var parsed_path = path.posix.parse(resolved_path);
	return path.posix.join(parsed_path.dir, parsed_path.name);
}
function convert_to_alloy_path ( resolved_path ) { var parsed_path = path . posix . parse ( resolved_path ) ; return path . posix . join ( parsed_path . dir , parsed_path . name ) ; }
NODE_MODULES_PATHS(START) 1. let PARTS = path split(START) 2. let I = count of PARTS - 1 3. let DIRS = [] 4. while I >= 0, a. if PARTS[I] = "node_modules" CONTINUE c. DIR = path join(PARTS[0 .. I] + "node_modules") b. DIRS = DIRS + DIR c. let I = I - 1 5. return DIRS Alloy doesn't like it when you include the file extension...
NODE_MODULES_PATHS ( START ) 1 . let PARTS = path split ( START ) 2 . let I = count of PARTS - 1 3 . let DIRS = [] 4 . while I > = 0 a . if PARTS [ I ] = node_modules CONTINUE c . DIR = path join ( PARTS [ 0 .. I ] + node_modules ) b . DIRS = DIRS + DIR c . let I = I - 1 5 . return DIRS Alloy doesn t like it when you include the file extension ...