cis-5-Phenyl prolinates with electrophilic substituents at the fourth position of a pyrrolidine ring were synthesized by 1,3-dipolar cycloaddition of arylimino esters with divinyl sulfone and acrylonitrile. 4-Vinylsulfonyl 5-phenyl prolinates inhibit Staphylococcus aureus sortase SrtA irreversibly by modification of the enzyme Cys184 and could be used as hits for the development of antibacterials and antivirulence agents.