Permissions on esbuild output bundles

Hi everyone,

I’ve got a v14 site running in production, and I’m really pleased with the new build system. One snag I’ve hit: whenever I run a bench update or bench build, my CSS and js bundles get rebuilt with file permissions set to 600. I then have to go in manually to update them all to 755 in order for the nginx user www-data to be able to serve them. The dist folder itself has 755, so I’m not sure why the bundles themselves are being created with 600. My knowledge of esbuild and bench is a bit limited unfortunate, so I’m not sure how to address the issue.

Any tips on how to make bench/esbuild output different file permissions?

Is anyone more familiar with esbuild/bench than I able to answer this?