Webpack is basically a hardcoded build pipeline. But at every step there is a hook where you can plug in stuff

Only reason it can even do what people need it to

If we had these escape hatches where we allowed people to step outside of the confines of completely valid html/css/js etc, then we might have an easier time onboarding plugins for templating, transpiling etc