Skip to content

fix(nextjs): Remove logic merging include values in withSentryConfig #4056

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

Merged

Conversation

lobsterkatie
Copy link
Member

This removes the logic which manipulates the user's webpack plugin options to include the nextjs config's distDir option (if set) in the plugin option's include property, as that manipulation results in more files than we want being uploaded (by essentially undoing #3845).

A more selective version of this merging will be included in #4017.

@lobsterkatie lobsterkatie enabled auto-merge (squash) October 11, 2021 18:56
@github-actions
Copy link
Contributor

size-limit report

Path Size
@sentry/browser - CDN Bundle (gzipped) 22.33 KB (-0.01% 🔽)
@sentry/browser - Webpack 23.31 KB (0%)
@sentry/react - Webpack 23.34 KB (0%)
@sentry/browser + @sentry/tracing - CDN Bundle (gzipped) 29.79 KB (0%)

@lobsterkatie lobsterkatie merged commit 150bc38 into master Oct 11, 2021
@lobsterkatie lobsterkatie deleted the kmclb-nextjs-stop-merging-includes-in-withSentryConfig branch October 11, 2021 19:03
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