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

Update polyfill configuration for node.js core modules in webpack 5 #5984

Open
2 tasks
nasouhmr opened this issue May 17, 2023 · 1 comment
Open
2 tasks

Comments

@nasouhmr
Copy link

Issue type

I'm submitting a ... (check one with "x")

  • [x ] bug report
  • feature request
  • question about the decisions made in the repository

Issue description
Current behavior:
After upgrading to webpack 5, the default behavior of including polyfills for node.js core modules has changed. This may result in a "crypto" module error. To resolve this issue, please verify if you require the "crypto" module and configure a polyfill accordingly.

Expected behavior:
The expected behavior is for the polyfill configuration to handle the "crypto" module properly in the webpack 5 setup.

Steps to reproduce:

Upgrade to webpack 5.
Run the application.
Observe the "crypto" module error.

Other information:

Angular:14.2.11
Node: 14.21.3
npm: 6.14.18
OS: Win 11
Screenshot 2023-05-17 120652

@ssingh3856
Copy link

Can i take this up?

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