fix(hash.js): correctly pre-build hash.js for the browser
This commit is contained in:
@@ -3,6 +3,5 @@
|
||||
import hash from 'hash.js'
|
||||
|
||||
export function createHash (algorithm: 'sha256') {
|
||||
console.log(hash)
|
||||
return hash.sha256()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user