Imperial (and presumably First Order) fighters have long been established to be short-ranged craft. The Resistance ships were not only outside of fighter range, but even outside of the range of the bulk of the capital ships' weapons. The dangers of the "just hyper space in front of their fleet" are shown by the "Holdo maneuver" later in the same movie (and Han Solo's lines before "
jump to lightspeed" all the way back in ANH).
But none of this really matters. Tactics and strategy in movies are often contrived. The whole point is to serve the plot. This is hardly the first offense in film history, or even Star Wars history, of limitation and tactical decisions being made to create drama. Why do the shields on Hoth protect from space bombardment and spaceships but not from walkers? Shield generators are shown at being able to stop physical craft in both RTJ and Rogue One. Why are Imperial walkers robust enough to survive repeated blaster fire, but flimsy enough to be crushed by a couple logs swung from trees? It's all just plot convenience. Suspend your disbelief and enjoy the movie.
There are plenty of actual reasons to dislike Episode 8, stop spending mental energy to invent silly ones.