lib/builders/standard.js
function initialize(done) {
		debug('prepare');

		parser(options.index, options, function(err,  modules) {
			if(err) return done(err)

			debug('Parser return, now build the tree...');
			tree          = buildTree(options, modules, true);

			debug('Tree builded');

			// Extract from tree as a flatten list of packets to compile
			packets       = tree.getAllBundles(options);

			done(null);
		})

	}
function initialize(done) {
		debug('prepare');

		parser(options.index, options, function(err,  modules) {
			if(err) return done(err)

			debug('Parser return, now build the tree...');
			tree          = buildTree(options, modules, true);

			debug('Tree builded');

			// Extract from tree as a flatten list of packets to compile
			packets       = tree.getAllBundles(options);

			done(null);
		})

	}
function initialize ( done ) { debug ( 'prepare' ) ; parser ( options . index , options , function ( err , modules ) { if ( err ) return done ( err ) debug ( 'Parser return, now build the tree...' ) ; tree = buildTree ( options , modules , true ) ; debug ( 'Tree builded' ) ; // Extract from tree as a flatten list of packets to compile packets = tree . getAllBundles ( options ) ; done ( null ) ; } ) }
BUILD FLOW 
Step 1

Prepare builder information using nway.prepare() :
modules object, root module, sources, tree and packet list

@api private
BUILD FLOW Step 1