Nginx doesn't have a default mapping for .mjs so doesn't serve it with the JavaScript MIME type, which upsets the browser.
It was way bigger than the whole site.