We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
https://github.com/sdoomz/nextjs-turbopack-robots-cache
https://next.com/
https://localhost:3000/
next build --turbopack doesn't opt out robots.txt and sitemap.xml from static generation. Running next build without --turbopack works as expected.
next build --turbopack
next build
--turbopack
Operating System: Platform: darwin Arch: arm64 Version: Darwin Kernel Version 24.5.0: Tue Apr 22 19:53:27 PDT 2025; root:xnu-11417.121.6~2/RELEASE_ARM64_T6041 Available memory (MB): 49152 Available CPU cores: 14 Binaries: Node: 23.11.0 npm: 10.9.2 Yarn: N/A pnpm: N/A Relevant Packages: next: 15.4.0-canary.48 // Latest available version is detected (15.4.0-canary.48). eslint-config-next: 15.1.8 react: 19.1.0 react-dom: 19.1.0 typescript: 5.8.3 Next.js Config: output: N/A
Turbopack
next build (local)
No response
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Uh oh!
There was an error while loading. Please reload this page.
Link to the code that reproduces this issue
https://github.com/sdoomz/nextjs-turbopack-robots-cache
To Reproduce
https://next.com/
on the opened page, in case you seehttps://localhost:3000/
- the bug is there.Current vs. Expected behavior
next build --turbopack
doesn't opt out robots.txt and sitemap.xml from static generation. Runningnext build
without--turbopack
works as expected.Provide environment information
Operating System: Platform: darwin Arch: arm64 Version: Darwin Kernel Version 24.5.0: Tue Apr 22 19:53:27 PDT 2025; root:xnu-11417.121.6~2/RELEASE_ARM64_T6041 Available memory (MB): 49152 Available CPU cores: 14 Binaries: Node: 23.11.0 npm: 10.9.2 Yarn: N/A pnpm: N/A Relevant Packages: next: 15.4.0-canary.48 // Latest available version is detected (15.4.0-canary.48). eslint-config-next: 15.1.8 react: 19.1.0 react-dom: 19.1.0 typescript: 5.8.3 Next.js Config: output: N/A
Which area(s) are affected? (Select all that apply)
Turbopack
Which stage(s) are affected? (Select all that apply)
next build (local)
Additional context
No response
The text was updated successfully, but these errors were encountered: