Add root detection utils (#50305)
A previous [PR](https://github.com/vercel/next.js/pull/49110#discussion_r1183282878) tried to reuse `rawNextConfig.experimental.outputFileTracingRoot` before invoking Turbopack, but that will always be undefined because `assignDefaults` hasn't been called yet. This creates a shared utility to be reused.
Showing
Please
register
or
sign in
to comment