Node.js and esbuild: beware of mixing cjs and esm
TL;DR   When using esbuild to bundle code with --platform=node that depends on npm packages...
Tags: node, javascript, typescript, esbuild