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] Resolve "Buffer is undefined" Error in Webpack Configuration #270

Merged
merged 1 commit into from
Aug 26, 2024

Conversation

SushilMallRC
Copy link
Contributor

Description:

This merge request addresses the "Buffer is undefined" error encountered during the Webpack build process. The issue was caused by Webpack 5 no longer including polyfills by default. The following changes have been made:

  • Added Buffer polyfill using ProvidePlugin in Webpack configuration.
  • Included process/browser polyfill to handle the process object in the browser.

Impact:

These changes ensure that the project builds correctly with Webpack 5, avoiding runtime errors related to Buffer and process.

@SushilMallRC SushilMallRC requested a review from embbnux August 26, 2024 08:05
@coveralls
Copy link

Coverage Status

coverage: 92.868%. remained the same
when pulling e69a18f on RC-269
into 28b7a6b on master.

@SushilMallRC SushilMallRC merged commit aa2716d into master Aug 26, 2024
2 checks passed
@SushilMallRC SushilMallRC mentioned this pull request Aug 26, 2024
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.

3 participants