ngx-admin icon indicating copy to clipboard operation
ngx-admin copied to clipboard

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

Open nasouhmr opened this issue 2 years ago • 1 comments

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

nasouhmr avatar May 17 '23 09:05 nasouhmr

Can i take this up?

ssingh3856 avatar May 22 '23 18:05 ssingh3856