I think a lot of the answer you get depends on your… position within the field, is what i’m going to call it.
“web development” is a very, VERY broad church.
Me pottering around and developing a webpage for myself, or even for my job (which is not in web development, but a tech field; so my job-based development is in the utility/presentation sort of area. Side projects to make a tool that automates this thing or another.), in which i’m developing for myself, by myself, and it doesnt matter what the code looks like, as long as it gets the job done in some degree of time, is web development.
You’ve got solo developers, who do a job, but at the end of the job it will become someone else’s job later to pick up and read their code and maintain/adjust it. And that’s a different mentality for development, because now you’ve got to care about code styling, and making it understandable, readable, concise, and operate within the delivery specs of the customer. And that’s also web development.
The person or people writing an extension for a preexisting library have to work within confines set by their frameworks, but also to have that code accepted by the original creators and/or the community that surround it, will need to meet code requirements for their deliverables. And that’s also web development.
The guy who’s creating a page or a script in a team collaboration on a major corporation’s site, who has got to encompass the ideas of multiple people into a cohesive design and work with their team, who will have varying ideas about what to use and how to use it, while keeping within the corporation’s budget for time and expense, has entirely different concerns when writing code as to the ‘problems’ of frameworks. But it’s also web development.
It’s important to recognize that to each goes their need; there won’t be “an” answer. Or “a” reason for asking the question, for that matter.