Smoking weed while pregnant

Just curious I hear many different stories

Is it harmful if it's occasionally smoked?