Skip to content

Commit

Permalink
chore: simplify herumi usage
Browse files Browse the repository at this point in the history
  • Loading branch information
jeluard committed Apr 18, 2024
1 parent 8f26399 commit e35f879
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 307 deletions.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,6 @@
"@typescript-eslint/parser": "^4.31.1",
"buffer": "^6.0.3",
"chai": "^4.3.6",
"crypto-browserify": "^3.12.0",
"eslint": "^7.14.0",
"eslint-plugin-import": "^2.20.1",
"eslint-plugin-prettier": "^3.1.4",
Expand Down
2 changes: 1 addition & 1 deletion webpack.config.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,13 @@ module.exports = {
new ResolveTypeScriptPlugin(),
],
alias: {
"crypto": "crypto-browserify",
'./blst-native/index.js': path.resolve(__dirname, './src/herumi/index.js')
},
fallback: {
fs: false,
path: false,
stream: false,
crypto: false,
},
},
experiments: {
Expand Down
Loading

0 comments on commit e35f879

Please sign in to comment.