Good & Fair Question
It depends what you mean by little or no immune system. Does she have a specfic diagnosis.
Obviously her immune system is good enough to maintain and carry a pregnacy. I think even if her immune system is 'weak', what ever that really means, it would still be the best for the infant to receive the breastmilk from the mother.