This repo is a demo on how you can setup webpack with Hugo.
https://dev.to/tegandbiscuits/building-a-static-site-with-hugo-and-webpack-pd3
To run this, you will need to have yarn, and hugo installed.
With a little modification, you can use the webpack dev server instead of the one Hugo comes with. This pull request shows how to set that up.