This removes `import type` usage from our core files since `import type` requires a higher TypeScript version than currently expected. Fixes: https://github.com/vercel/next.js/issues/19300
Webpack 5 supports a single runtimechunk for the Node.js compilation, this solves sharing modules between entrypoints.