Formation of secretory vesicles in the biosynthetic pathway.