Skip to content

Conversation

@chargome
Copy link
Member

@chargome chargome commented Nov 3, 2025

This fixes an issue when we are wrapping Next.js 16+ proxy.ts files, the webpack loader was exporting both middleware and proxy named exports, causing Next.js to potentially treat proxy files incorrectly as middleware files.

closes #18001

Copy link
Member

@sergical sergical left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✨ thank you!

@BTOdell
Copy link

BTOdell commented Nov 3, 2025

Awesome work! Does this also fix #18004?

@chargome chargome self-assigned this Nov 4, 2025
@chargome
Copy link
Member Author

chargome commented Nov 4, 2025

@BTOdell unlikely I'm afraid!

@chargome chargome merged commit 33d5898 into develop Nov 4, 2025
113 of 117 checks passed
@chargome chargome deleted the cg-fix-proxy-wrapping branch November 4, 2025 09:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Sentry causes Next.js 16 build to fail when using standalone output

5 participants