Peppermint tea during pregnancy?

C
I've read conflicting information, is it safe to drink during pregnancy? I have ibs and it works wonders but will give it up if I have to!