diff --git a/client/webpack.production.config.js b/client/webpack.production.config.js index 80dbeb3c..fb2589e5 100644 --- a/client/webpack.production.config.js +++ b/client/webpack.production.config.js @@ -38,6 +38,7 @@ module.exports = { util: 'require("util")', process: 'require("process")', net: 'require("net")', + crypto: 'require("crypto")', request: 'require(require("path").join(require("electron").remote.app.getAppPath(), "node_modules", "request"))', sparkplug: 'require("./sparkplug")' },