The history of meditation is as old as the history of religiooooooon. The relation between religion and meditation is such that one cannot be without the other.
Meditation is fundamental to religion.
Still, a time came when meditation and religion got separated. The mirror in which the self is reflected got broken. Oh saints, preksha is the revival of that tradition. Some people thought that there is no tradition of meditation in Jainism. I do not agree with that view.