function onTmpFile( error ) {
		var b;
		var v;
		var i;
		if ( error ) {
			debug( 'Encountered an error when creating a temporary file: %s', error.message );
			return done( error );
		}
		if ( opts.standalone ) {
			b = browserify( tmpfile, opts );
		} else if ( opts.exportName ) {
			b = browserify( opts );
			b.require( tmpfile, {
				'expose': opts.exportName
			});
		} else {
			b = browserify( tmpfile, opts );
		}
		if ( opts.transforms ) {
			for ( i = 0; i < opts.transforms.length; i++ ) {
				v = opts.transforms[ i ];
				if ( isArray( v ) ) {
					b.transform( v[ 0 ], v[ 1 ] );
				} else {
					b.transform( v );
				}
			}
		}
		if ( opts.plugins ) {
			for ( i = 0; i < opts.plugins.length; i++ ) {
				v = opts.plugins[ i ];
				if ( isArray( v ) ) {
					b.plugin( v[ 0 ], v[ 1 ] );
				} else {
					b.plugin( v );
				}
			}
		}
		if ( opts.external ) {
			b.external( opts.external );
		}
		debug( 'Creating a bundle...' );
		b.bundle( onBundle );
	}
Callback invoked upon generating a temporary file.

@private
@param {(Error|null)} error - error object
@returns {void}