next dev --turbo
does not respect pageExtensions
for custom App/Document
#59264
Labels
bug
Issue was opened via the bug report template.
linear: turbopack
Confirmed issue that is tracked by the Turbopack team.
locked
Turbopack
Related to Turbopack with Next.js.
Link to the code that reproduces this issue
https://github.com/miselin/next-turbo-pageextensions-repro
To Reproduce
npm run dev
app-ran-repro
anddocument-ran-repro
)npm run dev:turbo
MyApp
component.Current vs. Expected behavior
Currently, running with
--turbo
requires_app.tsx
and_document.tsx
regardless of the value ofpageExtensions
.I expect these to also respect
pageExtensions
as they do when--turbo
is not provided.Verify canary release
Provide environment information
Operating System: Platform: darwin Arch: arm64 Version: Darwin Kernel Version 22.6.0: Thu Nov 2 07:43:57 PDT 2023; root:xnu-8796.141.3.701.17~6/RELEASE_ARM64_T6000 Binaries: Node: 20.10.0 npm: 10.2.3 Yarn: 1.22.19 pnpm: 8.11.0 Relevant Packages: next: 14.0.4-canary.39 eslint-config-next: N/A react: 18.2.0 react-dom: 18.2.0 typescript: 5.1.3 Next.js Config: output: N/A
Which area(s) are affected? (Select all that apply)
Turbopack (--turbo)
Additional context
No response
PACK-2085
The text was updated successfully, but these errors were encountered: