The FDA strongly recommends that the consumption of CBD, THC, or marijuana in any form be avoided during pregnancy and breastfeeding. Cannabis use is 100% unsafe during pregnancy. It can cause complications similar to those caused by smoking, such as premature birth and congenital disabilities. Many mothers who used cannabis before pregnancy may wonder if they can use it again while breastfeeding their baby.
The only thing I'm going to say about Delta 8 is that it's much less regulated and it's not known if they use pesticides or other chemicals. If you have access to medical marijuana, I would say it's a safer option, since Delta 8 still contains THC and you would test positive for marijuana with Delta 8 anyway.