We never thought you web guys were doing well, really. With all the empathy to you as a person, these jobs were a result of the industry being an endless field of burning barrels of cash, not some good engineering. Every few pages of webdev was a single click in the '90s style RAD IDE. Every now-team was just one part-job with no particular specialization. And you didn’t even think of boiling it all down to something sensible. This whole job is a bubble.
It’s no secret that this is where AI performs the best and doesn’t embarrass itself in the second sentence. I’d even claim that webdev heavily masks the inability of LLMs to write code yet, because it does relatively well in the “webapp” section.