Relative Content

Tag Archive for webpack-5html-webpack-plugin

Can HtmlWebpackPlugin use only the bundles in the [name] folder?

I have a webpack.config.js that scans a config folder to build different bundles in different output folders so that each of those output folders can be a standalone website. For each of those output folders, I want to inject the folder’s contenthash’d bundle into src/template.html to yield an index.html written to each output folder.