Web devs are a tiny proportion of the employees needed for e-commerce.
Ergo, web devs are directly contributing to the outcomes that e-commerce enables.
If it sounds like I'm including a lot of jobs, it's because every non-service job in the history of the post-industrial revolution economy has revolved around making things more efficient. Software development is not some uniquely evil domain.