Too Long; Didn't Read
By default webpack only understands JavaScript. Therefore, if you want to work with static files, we need to expand it's functionality through loaders and plugins. If you want to work with HTML, you need to set up the html-loader and the html-webpack-plugin. If you want to work with CSS, you need to set up the css-loader and the style-loader. For working with images, starting from webpack 5, you can simply use the built in Asset Modules.