Nonperturbative time-dependent approach to breakup of halo nuclei