-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
WEB PACK 5 WARNING #354
Comments
解决方法:
|
Should be fixed in |
@ipodjms AFAICT part of the issue with Webpack is indeed this library, so upgrading to v4.1.1 will definitely help. But another part involved in my case was |
Helo.
After update my angular to 11 to 12, the build console input this warging:
BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default.
This is no longer the case. Verify if you need this module and configure a polyfill for it.
If you want to include a polyfill, you need to:
- add a fallback 'resolve.fallback: { "crypto": require.resolve("crypto-browserify") }'
- install 'crypto-browserify'
If you don't want to include a polyfill, you can use an empty module like this:
resolve.fallback: { "crypto": false }
where i include it? resolve.fallback: { "crypto": false } ??
The text was updated successfully, but these errors were encountered: