Thanks for your reply. I looked again and it was my mistake. I kept seeing a folder inside public/ that I didn’t expect.
I misunderstood how Hugo builds the contents of public/. I had, for some reason, put some content in there. I expected Hugo to tidy up the build output folder before it populates it.