From 2e2c85af81f6b94190f43b87f3409323e5c01377 Mon Sep 17 00:00:00 2001 From: Gabor Javorszky Date: Fri, 11 Aug 2023 11:20:47 +0100 Subject: [PATCH] Add output.hashFunction for webpack 4 See https://stackoverflow.com/a/73027407/2862802 for more information about it. --- templates/javascript/webpack.config.js | 1 + templates/typescript/webpack.config.js | 1 + 2 files changed, 2 insertions(+) diff --git a/templates/javascript/webpack.config.js b/templates/javascript/webpack.config.js index 4524ab7..826d3d5 100644 --- a/templates/javascript/webpack.config.js +++ b/templates/javascript/webpack.config.js @@ -16,5 +16,6 @@ module.exports = { path: path.join(__dirname, "build"), library: "Suborbital", chunkFormat: "array-push", + hashFunction: 'xxhash64' }, }; diff --git a/templates/typescript/webpack.config.js b/templates/typescript/webpack.config.js index e66f851..1e006b8 100644 --- a/templates/typescript/webpack.config.js +++ b/templates/typescript/webpack.config.js @@ -25,5 +25,6 @@ module.exports = { path: path.join(__dirname, "build"), library: "Suborbital", chunkFormat: "array-push", + hashFunction: 'xxhash64' }, };