Try the https://github.com/webdiscus/html-bundler-webpack-plugin
This bundler plugin simplify the Webpack config.
The html-bundler-webpack-plugin allows to use a HTML template as an entry point. In a HTML template can be referenced any source files of styles, scripts, images, fonts, etc. The plugin detects all source files referenced in a HTML template and extracts processed assets to the output directory.
View in a browser how it works: https://stackblitz.com/edit/stackblitz-starters-78r926?file=...