alias failing when "extends" used with turbo #59378
Labels
bug
Issue was opened via the bug report template.
invalid link
The issue was auto-closed due to a missing/invalid reproduction link. A new issue should be opened.
Turbopack
Related to Turbopack with Next.js.
Link to the code that reproduces this issue
NA
To Reproduce
next dev --turbo
tsconfig.json
tsconfig.json
on the root (WORKS) or usingextends
in a sharedtsconfig.json
(FAIL).Current vs. Expected behavior
Error:
Module not found: Can't resolve '@/foo/bar'
Aliases are properly handled.
Verify canary release
Provide environment information
Operating System: Platform: darwin Arch: arm64 Version: Darwin Kernel Version 23.1.0: Mon Oct 9 21:27:24 PDT 2023; root:xnu-10002.41.9~6/RELEASE_ARM64_T6000 Binaries: Node: 21.3.0 npm: 10.2.4 Yarn: 4.0.0 pnpm: N/A Relevant Packages: next: 14.0.4-canary.38 eslint-config-next: N/A react: 18.2.0 react-dom: 18.2.0 typescript: 5.2.2 Next.js Config: output: N/A
Which area(s) are affected? (Select all that apply)
Turbopack (--turbo)
Additional context
In the same app, it works up to 14.0.4-canary.37 ... but since 14.0.4-canary.38 and tested until
14.0.4-canary.47
It fails to resolve alias in TS.
@sokra
v14.0.4-canary.38
introduced a change about aliases (might be the culprit):it WORKS using:
but FAILS with
extends
:Without
turbo
always works.The text was updated successfully, but these errors were encountered: