Skip to content

Conversation

AbhiPrasad
Copy link
Member

We have side effects in index.server.ts, so we mark as such in our package.json.

We have side effects in `index.server.ts`, so we mark as such in our
package.json.
@github-actions
Copy link
Contributor

github-actions bot commented Dec 3, 2021

size-limit report

Path Base Size (dd11cde) Current Size Change
@sentry/browser - CDN Bundle (gzipped) 22.45 KB 22.45 KB +0.02% 🔺
@sentry/browser - Webpack 23.29 KB 23.29 KB 0%
@sentry/react - Webpack 23.32 KB 23.32 KB 0%
@sentry/nextjs Client - Webpack 47.98 KB 47.98 KB 0%
@sentry/browser + @sentry/tracing - CDN Bundle (gzipped) 29.9 KB 29.9 KB +0.01% 🔺

@AbhiPrasad AbhiPrasad added the Package: nextjs Issues related to the Sentry Nextjs SDK label Dec 3, 2021
Copy link
Member

@lobsterkatie lobsterkatie left a comment

Choose a reason for hiding this comment

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

LGTM.

I desperately wish they'd finally get around to letting you use comments in package.json... At some point, we might revisit this, because I suspect that long term, this is going to depend on whether or not you're deployed to vercel and/or whether or not you're using tracing. But that's a bridge to cross a different day.

@AbhiPrasad AbhiPrasad enabled auto-merge (squash) December 6, 2021 14:18
@AbhiPrasad AbhiPrasad merged commit 9fbd413 into master Dec 6, 2021
@AbhiPrasad AbhiPrasad deleted the abhi-nextjs-side-effect branch December 6, 2021 19:34
onurtemizkan pushed a commit that referenced this pull request Dec 19, 2021
We have side effects in `index.server.ts`, so we mark as such in our
package.json.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Package: nextjs Issues related to the Sentry Nextjs SDK
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants