I was told, 9 years ago, to avoid peanuts, treenuts and shellfish during pregnancy, and thoughout nursing.
Now, I have read completely differently, as cmf, and CM concur. Eat a normal and balanced diet.
But, does that apply even with a history of allergies? That is where I am not certain. There is also new advice for restrictions in introducing foods. Less restrictive than when I was having my second child. I would check in with the allergist and peds, or current research.