FredKSchott / FredKSchott/rollup-plugin-polyfill-node
randomBytes missing from crypto even though it is in crypto-browserify
Open
- Dominant language
- TypeScript
- Stars
- 193
- Forks
- 60
- PR merge metrics
- No merged PRs in 30d
Description
Hi, how do I use crypto such that it has randomBytes? Currently I have an error as crypto$1.randomBytes is undefined.
Or how do I enable the crypto shim? I notice it seems to be disabled and set to an empty path.
I need this to get a module working with Vite, namely, @auth0/cordova.
Thanks a lot!
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.