function onBundle( error, bool ) {
		var bundle;
		var hopts;
		var hout;
		if ( error ) {
			debug( 'Encountered an error when creating bundle: %s', error.message );
			return done( error );
		}
		if ( !bool ) {
			debug( 'No bundle created.' );
			return done( null, false );
		}
		debug( 'Successfully created bundle.' );

		bundle = join( opts.mount, opts.bundle );
		debug( 'Bundle URL: %s', bundle );

		hout = join( out, opts.html );
		debug( 'HTML output: %s', hout );

		hopts = {
			'title': opts.title,
			'out': hout
		};
		debug( 'HTML options: %s', JSON.stringify( hopts ) );

		debug( 'Creating HTML...' );
		html( bundle, hopts, onHTML );
	}
Callback invoked after creating a bundle.

@private
@param {(Error|null)} error - error object
@param {boolean} bool - boolean indicating whether a bundle was created
@returns {void}