Before 2020, vaccines referred to things like attenuated viruses - you were basically being given a small weakened dose of the actual pathogen to prime your immune system. mRNA shots are a different animal and they are quite new.
Far be it from me to doubt a stranger on the Internet, but can you point out any medical textbook or dictionary written pre-2020 that limits the definition of "vaccine" to "attenuated viruses"?