The end goal of meditation, as I understand it, is to come to the conclusion that consciousness is an illusion anyway. So perhaps it wouldn’t matter.
The self, not consciousness. Eastern philosophy is more likely to be idealistic than materialistic. The self as a separate entity that has stability over time is the illusion. The experience of change is not an illusion. Nor would whatever experiences come with enlightenment.