I've been a JS developer for almost 10 years. I'm convinced young hip developers are just addicted to tooling.
I've been a JS developer for almost 10 years. I'm convinced young hip developers are just addicted to tooling.
Young developers don’t know what they don’t know. If they don’t see editing the webpack configuration as part of their job, they’ll probably just never touch it.
And that means it’s your job to go fix it! Compiling down to es5 can have terrible performance implications for the resulting application - particularly if any of the bundled code touches typed arrays. There’s some free performance wins sitting on the table. If your coworkers are too junior, it falls to you to fix the build.
List of features in each version of JS: https://kangax.github.io/compat-table/es2016plus/ (also check the ES6 tab)
esbuild and babel/webpack do basically the same thing. esbuild can also target older versions of JavaScript (just not es5).
So keep going, you're on the right track.