The CJS build was not outputting the main chunk. This turned out to be from misconfigured "module" settings in the tsconfigs.
Also fixed a couple of ESM-related things. ESM output is still a bit broken because we don't use file extensions through out, but I'm leaving that for a follow up.
The CJS build was not outputting the main chunk. This turned out to be from misconfigured "module" settings in the tsconfigs.
Also fixed a couple of ESM-related things. ESM output is still a bit broken because we don't use file extensions through out, but I'm leaving that for a follow up.