Skip to content

[WIP] chore: Update dependencies#121

Open
colex2 wants to merge 8 commits intoOnyx-Protocol:developfrom
colex2:update-dependencies-with-features
Open

[WIP] chore: Update dependencies#121
colex2 wants to merge 8 commits intoOnyx-Protocol:developfrom
colex2:update-dependencies-with-features

Conversation

@colex2
Copy link
Copy Markdown
Contributor

@colex2 colex2 commented Aug 12, 2025

No description provided.

@colex2 colex2 force-pushed the update-dependencies-with-features branch from 13fd89a to cc7f986 Compare August 12, 2025 18:15
@colex2 colex2 changed the title [WIP] chore: Update dependencies with features [WIP] chore: Update dependencies Aug 12, 2025
@colex2
Copy link
Copy Markdown
Contributor Author

colex2 commented Aug 13, 2025

Webpack 5 Node.js Polyfill Configuration


Webpack 5 removed automatic polyfills for Node.js core modules that were previously included by default. This breaking change affects React applications that depend on Node.js modules in the browser environment.

Required Polyfills

buffer
crypto-browserify
process
stream-browserify
stream-http / https-browserify
url

Utility Modules

os-browserify
assert
util
vm-browserify


Implementation

The config-overrides.js file provides:

  • Webpack fallback configuration for Node.js modules
  • Global variable injection (Buffer, process)
  • .mjs file handling for modern JavaScript modules
  • ESLint plugin removal for compatibility

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.

1 participant