-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[WEB-995] Support tsconfig nodenext
#4807
Comments
It looks like we're nearing Turbo release with 99.7% tests passing, and yet, Turbo is STILL unable to resolve any modules with extensions. I'm getting hundreds and hundreds of errors like:
This is easily resolved with a hack on Webpack's side:
which is also ridiculous, but at least it works. |
this blocks me trying |
Would be great if this could be added soon! Can't wait to cut my compile times in half. At payload we LOVE supporting the latest and greatest next features. And while turbo works, the lack of nodenext support prevents us from running our test suites against turbo, thus we cannot guarantee turbo will work smoothly. We are using |
*Sigh* fine, I'll bite. Introducing next-turbopack-nodenext - a package that patches your Next.js config so that Turbopack could resolve fully specified /~https://github.com/wojtekmaj/next-turbopack-nodenext
|
thanks for the effort! i added experimental: { but it did not fix the issue |
@macrozone Not even that should be necessary, unless you're unhappy with the default order the plugin looks for files. If you provide a minimum reproduction I'll be happy to look into this. Also, when you have it, please rather raise an issue against my repo, we don't want to clutter this thread any more than necessary. |
fair point. So far i settled with not using turbo pack in nextjs, until this is officially supported with ESM. |
This PR landed a while back for Turbopack. Will ask Niklas to take a look at the reproduction repo as well. |
This should be working now with Next.js 15 (or 15.0.1 for mjs/cjs imports). |
Closing as Turbopack as moved homes |
From SyncLinear.com | WEB-995
PACK-3031
The text was updated successfully, but these errors were encountered: