I agree with you for the configuration part,
That's why I use tools like npmjs.com/package/@symfony/webpack... that I highly recommend to you.
It's a kind of wrapper around webpack and made it easy to configure
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.