Lyxen
Great Old One
This is only an issue if your world features real world physics and non-smart magic (ie, magic that operates within physics like technology rather than creating effects based on intention).
Good answer. Magic is magical by definition, and light in D&D certainly does not behave like light in the real world (otherwise you would, for example, be blind while being invisible, assuming that invisibility could even be explained in terms of real world science, which I don't think is possible).
Minor illusion cannot work at all according to real world physics anyway if you think about it properly (you never see an object, you only see the light reflected off it, so if you don't create an object but just an illusion, you are probably only creating light, but then why wouldn't you be able to create a light source, as a first question).