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(tracing): Target tracing bundles for side effects #4955

Merged
merged 2 commits into from Apr 25, 2022

Conversation

kpdecker
Copy link
Contributor

@kpdecker kpdecker commented Apr 20, 2022

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

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.
@kpdecker kpdecker changed the title Target tracing bundles for side effects fix(tracing): Target tracing bundles for side effects Apr 20, 2022
@kpdecker kpdecker marked this pull request as ready for review April 20, 2022 00:48
Copy link
Collaborator

@onurtemizkan onurtemizkan left a 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!

Still, I don't think it's enough to fix every case in #4731, as it's an older issue than that sideEffects update. But I'll dig deeper. 👍

packages/tracing/package.json Show resolved Hide resolved
Co-authored-by: Onur Temizkan <onur@narval.co.uk>
Copy link
Member

@Lms24 Lms24 left a 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!

@Lms24 Lms24 enabled auto-merge (squash) April 25, 2022 07:49
@Lms24
Copy link
Member

Lms24 commented Apr 25, 2022

@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

@Lms24 Lms24 merged commit cafec74 into getsentry:master Apr 25, 2022
Lms24 added a commit that referenced this pull request Apr 26, 2022
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`.
lobsterkatie pushed a commit that referenced this pull request Apr 26, 2022
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`.
lobsterkatie pushed a commit that referenced this pull request Apr 26, 2022
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`.
AbhiPrasad pushed a commit that referenced this pull request May 30, 2022
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`.
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.

None yet

4 participants