Vercel compile NodeJS ESM to CommonJS

Since it’s an Angular project, I’m assuming it also uses TypeScript. So you should be able to fix it by including a tsconfig.json set for ESM.

Here’s an earlier post with a configuration example that’s helped in similar cases: