The Consumer Product Safety Commission announced the recall of about 20,500 pieces of baby sleepwear because the clothing violates federal flammability regulations.