In the same time span, full-size trucks have grown a fair bit, so it appears it's now possible to market a mid-size truck (the Canyon and Tacoma are quite a bit larger than the old S-10 or Ranger). Nobody is actually selling compact trucks in the US any more, nor does anybody plan to do so (that I've seen).
Redesigning the Ranger to have a larger footprint results in a mid-sized pickup only slightly smaller than the base model F-150, which is where the sales-cannibalism problem comes in.
They did keep building the Ranger, 180,000 of them per year in South Africa for export to everywhere except... North America.
Mainly, as noted below, because they felt that new cleaner engines could move the F-series into that market segment.