DEV Community

Discussion on: How to configure Webpack 4 or 5 from scratch for a basic website

Collapse
 
alittlebyte profile image
Vlad

Loved this article, it's concise and up to date.
The most confusing part for me is Webpack using a .js file for an entry point, instead of an .html.
Speaking of which... there should be an HTML loader setup of some sort, so my .html content is packed into the bundle too, right?
Gonna go search the documentation for it. Cheers!

Collapse
 
antonmelnyk profile image
Anton Melnyk

Correct, there is a html plugin that will automatically create html from template and insert your JS bundle there.