ngx-admin
ngx-admin copied to clipboard
Update polyfill configuration for node.js core modules in webpack 5
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
Can i take this up?