Resonant metasurfaces pave the way for more compact sources of pure chiral light