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: Include Buffer in webpack build #38819

Merged
merged 1 commit into from
Sep 2, 2021
Merged

Conversation

zoltanbedi
Copy link
Member

What this PR does / why we need it:

Nodejs core modules are no longer added in webpack 5. We use Buffer in the Tempo code to convert base64 string to hex. This pr adds back the support for Buffer. See also webpack/changelog-v5#10

Which issue(s) this PR fixes:

Fixes #38817

@zoltanbedi zoltanbedi self-assigned this Sep 2, 2021
@zoltanbedi zoltanbedi requested review from a team, peterholmberg, thisisobate and jackw and removed request for a team September 2, 2021 09:53
Copy link
Contributor

@jackw jackw left a comment

Choose a reason for hiding this comment

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

LGTM! 🚀

@zoltanbedi zoltanbedi merged commit 7e6cf14 into main Sep 2, 2021
@zoltanbedi zoltanbedi deleted the zoltan/fix-tempo-upload branch September 2, 2021 12:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Upload trace is not working after webpack 5 upgrade
3 participants