Skip to content

Commit 4e5e225

Browse files
authored
Update webpack.config.js
Fix for Module not found: Error: Can't resolve 'crypto'
1 parent fcb488c commit 4e5e225

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

webpack.config.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ module.exports = {
1111
},
1212
resolve: {
1313
fallback: {
14-
fs: false
14+
fs: false,
15+
crypto: require.resolve('crypto-browserify')
1516
}
1617
}
1718
};

0 commit comments

Comments
 (0)