Yes, your baby needs a lot of nutrients and so do you while you're pregnant, if you're throwing up after you eat or taking laxatives your body's not getting the nutrients and calories it needs to properly take care of you and your baby. When you're pregnant you should be increasing your food intake...Not decreasing it!
If you have bulimia or anorexia it is extremely important that you see your doctor, pregnant or not, you will cause serious damage to yourself if you continue on this road.
Please go see a doctor and take care of yourself and your baby.