`TypeError: module.require is not a function` error when running with turbopack
### Issue Description

Apologies if this should be an FR, or an issue on a different project. I'm finding it hard to work out if nextjs + turbopack + apollo server is supposed to be supported or not, and what's stopping it from working at the moment.

In any case, when trying to run `next dev --turbo` on a project with apollo server, I get a bunch of `TypeError: module.require is not a function` errors whenever the gql endpoint is hit, and no data is returned. Running without `--turbo` (i.e. using webpack) works fine.

Related issues:
https://github.com/apollo-server-integrations/apollo-server-integration-next/issues/172
https://github.com/apollo-server-integrations/apollo-server-integration-next/issues/232
https://github.com/vercel/next.js/issues/72573

Thanks

### Link to Reproduction

See https://github.com/vercel/next.js/issues/72573

### Reproduction Steps

See https://github.com/vercel/next.js/issues/72573