Skip to content
New issue

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

fix(nextjs): Instrument route handlers with jsx and tsx file extensions #9362

Merged
merged 1 commit into from
Oct 25, 2023

Conversation

lforst
Copy link
Member

@lforst lforst commented Oct 25, 2023

Ref: vercel/next.js#57252

It is apparently allowed for route handler files to have jsx and tsx file extensions, even though it says otherwise in the Next.js docs: https://nextjs.org/docs/app/building-your-application/routing/route-handlers#convention

This PR will cause the SDK to also instrument route handlers with jsx and tsx extensions.

@lforst lforst changed the title fix(nextjs): Instrument route handlers when they're jsx or tsx fix(nextjs): Instrument route handlers with jsx and tsx file extensions Oct 25, 2023
@lforst lforst requested review from mydea and Lms24 October 25, 2023 10:35
@lforst lforst merged commit 9b0abcd into develop Oct 25, 2023
52 checks passed
@lforst lforst deleted the lforst-allow-jstsx-route-handlers branch October 25, 2023 11:56
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.

2 participants