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

Consider adding browser field in package.json #27

Open
smeng9 opened this issue Nov 19, 2022 · 0 comments
Open

Consider adding browser field in package.json #27

smeng9 opened this issue Nov 19, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@smeng9
Copy link

smeng9 commented Nov 19, 2022

Hi @joelnet

In order to resolve the webpack 5 build problem, we need to add a

browser: { http: "stream-http", https: "https-browserify" }

to package.json

like https://github.com/webpack/webpack/blob/c181294865dca01b28e6e316636fef5f2aad4eb6/lib/ModuleNotFoundError.js#L21

Also add stream-http and https-browserify to dependencies.

@joelnet joelnet added the enhancement New feature or request label Jan 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants