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

util.inherits not working in Webpack #36

Open
Richienb opened this issue Nov 20, 2024 · 2 comments
Open

util.inherits not working in Webpack #36

Richienb opened this issue Nov 20, 2024 · 2 comments

Comments

@Richienb
Copy link

Richienb commented Nov 20, 2024

Richienb/node-polyfill-webpack-plugin#57
browserify/node-util#80
(This module uses the same one that I have been)

@niksy
Copy link
Owner

niksy commented Nov 20, 2024

I think this should be covered when you polyfill both util and inherits and use bundler functionality for browser environment (as is mentioned in comment).

Do you have minimal reproduction where this doesn’t work? I have tried locally and it works as expected.

Other than that, I think proxying module and reimplementing util.inherits to use inherits/inherits_browser should be way to go.

@Richienb
Copy link
Author

cc @barnabasbartha

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

No branches or pull requests

2 participants