fix: Not sure why this is here, but it breaks my webpack build.
This commit is contained in:
parent
7ef6e52870
commit
70ed3dafd6
@ -20,12 +20,6 @@ var randombytes = (function () {
|
|||||||
|
|
||||||
if (crypto && crypto.getRandomValues) return browserBytes
|
if (crypto && crypto.getRandomValues) return browserBytes
|
||||||
|
|
||||||
if (require != null) {
|
|
||||||
// Node.js. Bust Browserify
|
|
||||||
crypto = require('cry' + 'pto')
|
|
||||||
if (crypto && crypto.randomBytes) return nodeBytes
|
|
||||||
}
|
|
||||||
|
|
||||||
return noImpl
|
return noImpl
|
||||||
})()
|
})()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user