Did some small pterosaurs hunt insects like dragonflies or did they all eat small reptiles and mammals?

Some small pterosaurs, most notably the anurognathids certainly hunted insects and I'm sure various other juveniles and some adults did too. All the early pterosaurs that we know of were at some level carnivorous and many ate fish, though other things were probably also on the menu. I actually wrote a paper about it just this year!