Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
only rename for webpack
  • Loading branch information
mischnic committed Oct 21, 2025
commit 9e8dbc9f62a0b07362274e9be3a9b8abf9e2c5eb
2 changes: 1 addition & 1 deletion packages/next/src/build/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4152,7 +4152,7 @@ export default async function build(
buildTracesSpinner = undefined
}

if (proxyFilePath) {
if (proxyFilePath && bundler !== Bundler.Turbopack) {
await fs.rename(
path.join(distDir, SERVER_DIRECTORY, 'proxy.js'),
path.join(distDir, SERVER_DIRECTORY, 'middleware.js')
Expand Down
Loading