Build WebGL without hosting locally

Good day!

I am developing an web application which makes use of an Unity WebGL build. I am using XAMPP to host the application.

Is there a way to tell Unity to build the scene without starting a web server and therefore without creating the index.html file?

Best regards!

You can Build, instead of Build&Run, but that will still create an index.html file