-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
fix(tracing): Target tracing bundles for side effects #4955
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
Conversation
The prepack script runs in bundles mode for this module, which puts the build targets in the root of the package rather than the npm folder. This reverts commit eb09c28.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Co-authored-by: Onur Temizkan <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for contributing @kpdecker - we'll merge it in and cut a v6 patch release. Appreciate the help!
@onurtemizkan could you approve the PR (of course only if you think it's in a good state)? GH won't let me merge without it |
adjust the fix from #4955 which was merged into 6.19.7 for v7. Change the sideEffects paths in package.json of @sentry/tracing by renaming the `dist` dir to `cjs`.
adjust the fix from #4955 which was merged into 6.19.7 for v7. Change the sideEffects paths in package.json of @sentry/tracing by renaming the `dist` dir to `cjs`.
adjust the fix from #4955 which was merged into 6.19.7 for v7. Change the sideEffects paths in package.json of @sentry/tracing by renaming the `dist` dir to `cjs`.
adjust the fix from #4955 which was merged into 6.19.7 for v7. Change the sideEffects paths in package.json of @sentry/tracing by renaming the `dist` dir to `cjs`.
The prepack script runs in bundles mode for this module, which puts the build targets in the root of the package rather than the npm folder. https://github.com/getsentry/sentry-javascript/blob/master/scripts/prepack.ts#L20-L21
This was tested manually against webpack 5.56.0.
This reverts commit eb09c28.
Partial #4731