Really depends on you. I know some people who are all about fit. They'd be fine with publishing few or no papers, if they can do interesting-ish work in a nice environment. I met one who basically told me she no strong research interests at all, and just wanted a PI who was supportive and would let her graduate on time. To be fair, she not only had a BS and a MS from elite institutes, but was also pursuing a PhD at another elite institute and thus had some more postgrad options (i.e., finance/consulting companies that hire for prestige) than most of us.
Conversely, I know people who are