Skip to content

Conversation

@lobsterkatie
Copy link
Member

@lobsterkatie lobsterkatie commented Jul 7, 2021

Nothing substantive here - just a bunch of changes pulled out of an upcoming PR fixing API route monitoring in nextjs, to make that one easier to review.

Major themes:

  • Standardize naming
  • Split current and new values into separate variables
  • Remove old code
    • Check for entry point existence (moot given our minimum supported nextjs version)
    • Unnecessary stuff which came along when tracing code was copied from instrumentServer.js

@lobsterkatie lobsterkatie requested a review from kamilogorek as a code owner July 7, 2021 22:50
@github-actions
Copy link
Contributor

github-actions bot commented Jul 7, 2021

size-limit report

Path Size
@sentry/browser - CDN Bundle (gzipped) 21.43 KB (0%)
@sentry/browser - Webpack 22.45 KB (0%)
@sentry/react - Webpack 22.49 KB (0%)
@sentry/browser + @sentry/tracing - CDN Bundle (gzipped) 28.93 KB (0%)

Copy link
Member

@AbhiPrasad AbhiPrasad left a comment

Choose a reason for hiding this comment

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

Nice!

@lobsterkatie lobsterkatie force-pushed the kmclb-nextjs-pre-inject-init-in-api-routes-clean-up branch from d8f4a82 to 7362042 Compare July 8, 2021 18:00
@lobsterkatie lobsterkatie merged commit 484aad5 into master Jul 8, 2021
@lobsterkatie lobsterkatie deleted the kmclb-nextjs-pre-inject-init-in-api-routes-clean-up branch July 8, 2021 18:21
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.

4 participants