Does my eating also contribute to my producing milk to breastfeed my baby? If I eat very ltttle does that effect my production of milk?

Intake ==> output. There is one time in a woman's life when she can eat a healthy diet (plus healthy snacks) and not need to worry about gaining much weight. That is when breastfeeding a baby. See my comment also.