lib/nodes/bundle.js
function(tech, bundleNode, magicNode) {

        var arch = this.ctx.arch,
            filePath = this.getBundlePath(tech);

        if (!PATH.existsSync(PATH.resolve(this.root, filePath))) return;

        var node = new fileNodes.FileNode({
            root: this.root,
            path: filePath
        });

        arch.setNode(node);

        bundleNode && arch.addParents(node, bundleNode);
        magicNode && arch.addChildren(node, magicNode);

        return node;

    }
function(tech, bundleNode, magicNode) {

        var arch = this.ctx.arch,
            filePath = this.getBundlePath(tech);

        if (!PATH.existsSync(PATH.resolve(this.root, filePath))) return;

        var node = new fileNodes.FileNode({
            root: this.root,
            path: filePath
        });

        arch.setNode(node);

        bundleNode && arch.addParents(node, bundleNode);
        magicNode && arch.addChildren(node, magicNode);

        return node;

    }
function ( tech , bundleNode , magicNode ) { var arch = this . ctx . arch , filePath = this . getBundlePath ( tech ) ; if ( ! PATH . existsSync ( PATH . resolve ( this . root , filePath ) ) ) return ; var node = new fileNodes . FileNode ( { root : this . root , path : filePath } ) ; arch . setNode ( node ) ; bundleNode && arch . addParents ( node , bundleNode ) ; magicNode && arch . addChildren ( node , magicNode ) ; return node ; }
Create file node, add it to the arch, add dependencies to it.

@param {String} tech
@param {String} bundleNode
@param {String} magicNode
@return {Node | undefined}
Create file node add it to the arch add dependencies to it .