This tells node that it needs to load it as a CommonJS package and should work fine with ESM.
There's also creating a require function from `node:module` package[1]
[0]: https://pnpm.io/pnpmfile
[1]: https://nodejs.org/dist/latest-v18.x/docs/api/module.html#mo...