Is cannabis safe during pregnancy?

I’ve had many friends smoke to relieve pain and nausea throughout their pregnancies, and their babies all turned out fine, but when I search this on google, it tells me it’s not safe? I think it’s because it’s still considered to be an illegal product in most countries. Thoughts? Im not talking about chronic smoking, or being high 24/7. Im just meaning having a small joint each night, or every few days to help relieve some horrible pregnancy symptoms.
Is cannabis safe during pregnancy?
Post Opinion