The term literally meant that what ever was stated happened exactly as described without any additional figurative meaning. However, as is normal for human language, the meaning of the term has changed in general conversation. The new meaning is "I am not exaggerating the figurative meaning of this statement." This change is a response to recent exaggerated use of figurative language.
For example, someone may witness a person trip and think that they were going to fall, so they could say, "I saw them trip and shit my pants." They didn't really shit their pants. They weren't even close to it. They were surprised and slightly worried, so the use of shit my pants was an exaggeration of even the figurative meaning. In contrast, someone may correctly use the term in a figurative manner, such as, "When I saw that car run the red light and almost hit us, I was so scared that I literally shit my pants." They don't mean they actually defecated with their pants on, though that could have happened. What they mean is that they were truly scared as opposed to slightly scared. Thus, the term literally means "the exact figurative meaning of".
Wellll, I do engage in some recreational pedantry now and then tbh. But not when it isn't obviously for fun. Well, that and if it's my kid or my niece. I keep telling them that there's nothing wrong with slang, dialect, or even just laziness in speech, but you gotta learn formal speech and writing first, and then choose if you're going to use it or not in daily life.
When I'm not home, I actually drawl like hell, and use local dialect heavily because it's fun, and it helps people feel relaxed at a big hairy dude being present. Plus, I genuinely love the history of the dialect and its use, so there's that. But at home, I'm more "correct", other than my insistence on using ain't and y'all liberally.
But bothering people with it? Hell naw. If it ain't my kids, it ain't my bidness :)