Skip to content

Commit

Permalink
Merge pull request #264 from eagletmt/fix-webpack5-ossl3
Browse files Browse the repository at this point in the history
Use xxhash64 hash function to fix OpenSSL 3 error
  • Loading branch information
morishin authored Aug 4, 2023
2 parents 802e180 + efdb4f4 commit b3d9db5
Show file tree
Hide file tree
Showing 3 changed files with 272 additions and 195 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@
"ts-loader": "~8.1.0",
"ts-node": "5.0.1",
"typescript": "^4.5.5",
"webpack": "^5.31.2",
"webpack": "^5.54.0",
"webpack-cli": "^4.6.0",
"webpack-node-externals": "^2.5.2"
},
Expand Down
2 changes: 2 additions & 0 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ module.exports = (env, argv) => {
output: {
path: distDir,
filename: "main.js",
hashFunction: "xxhash64", // Workaround for Webpack 5 and OpenSSL 3 https://github.com/webpack/webpack/issues/14532#issuecomment-947525539
},
module: {
rules: [
Expand Down Expand Up @@ -73,6 +74,7 @@ module.exports = (env, argv) => {
},
path: distDir,
filename: "app.js",
hashFunction: "xxhash64", // Workaround for Webpack 5 and OpenSSL 3 https://github.com/webpack/webpack/issues/14532#issuecomment-947525539
},
module: {
rules: [
Expand Down
Loading

0 comments on commit b3d9db5

Please sign in to comment.