Created
September 7, 2018 14:32
-
-
Save levino/2bf0c9df879843fcadc5b38acfeba39a to your computer and use it in GitHub Desktop.
Patch scrypt to load with webpack
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/node_modules/scrypt/index.js b/node_modules/scrypt/index.js | |
index 7b13a79..1e40d76 100644 | |
--- a/node_modules/scrypt/index.js | |
+++ b/node_modules/scrypt/index.js | |
@@ -1,6 +1,6 @@ | |
"use strict"; | |
-var scryptNative = require("./build/Release/scrypt") | |
+var scryptNative = require("./build/Release/scrypt.node") | |
, Crypto = require("crypto") | |
, Os = require("os"); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment