How to use Webpack with Github actions to deploy multiple websites

I am building a fairly simple website using Webpack for customer_A. I would like to now use a template to allow me to build the same website for customer_B, customer_C etc. What would be a good Webpack tool to do this with for a simple HTML, CSS and JS website?

The second part is how is this best achieved. Is there a way that Webpack itself can be used to build multiple websites each with its own dist folder or would it be best to call Webpack in the Github actions pipeline multiple times in a for loop and pass in each customer’s specific parameters?

I have been using Webpack and JS for a few days now so don’t have much experience in this area.