tsconfig `module: "CommonJS", moduleResolution: "nodeNext"` doesn't work (but we're not sure if it's supposed to)
### Issue Description

When the tsconfig moduleresolution is set to "nodenext", the @apollo/server can't be imported because: The current file is a CommonJS module whose imports will produce 'require' calls; however, the referenced file is an ECMAScript module and cannot be imported with 'require'.

But, changing the moduleresolution to "node" will make the import work.

Is this an issue with Apollo Server?

### Link to Reproduction

https://github.com/CaseyHaralson/apolloserver-bug-7222

### Reproduction Steps

npm install
npm run build

Then change the moduleresolution type and run the build again.

Edit: updated repo link to include bug number