Smaller platforms are exempted on the directive (ie, startups, single person corporations, etc.) as well as anything that doesn't do profit oriented content/active content moderation.
But arXiv is not small, it has 1.4 million e-prints, is far bigger than most of other scientific platforms. It is non-commercial though.