The Right Way to Utilize Webpack for Bundling a HTML Page With CSS and JS
Too Long; Didn't Read
The new HTML Bundler plugin makes Webpack setup incredibly simple. All the config happens in one place. All source styles and scripts specified in HTML are processed, and the extracted JS and CSS are saved to the output directory. The plugin automatically substitutes output filenames into the generated HTML file.