diff --git a/webpack.config.js b/webpack.config.js index f93112a3..c77a8d57 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -25,11 +25,12 @@ module.exports = { fs: false, path: require.resolve("path-browserify"), net: false, - crypto: false, + crypto: require.resolve("crypto-browserify"), + vm: require.resolve("vm-browserify"), + stream: require.resolve("readable-stream"), os: require.resolve("os-browserify/browser"), util: require.resolve("util/"), assert: false, - stream: false, events: false, constants: false, },