You could always get it from dist. next/dist/utils.
But that's something we are not going to open as a public API.
We might change them at any will or completely remove some of them.
So, it's not safe to open those to public.
OK understood 馃憤 This works for now:
import { loadGetInitialProps } from 'next/dist/lib/utils'
Most helpful comment
OK understood 馃憤 This works for now:
import { loadGetInitialProps } from 'next/dist/lib/utils'