From 9a435d77c0675c453aaf0edd7bc168c1a5fa5191 Mon Sep 17 00:00:00 2001 From: Gabor Javorszky Date: Fri, 11 Aug 2023 11:28:49 +0100 Subject: [PATCH] Add output hashfunction configs to webpack config See https://stackoverflow.com/questions/69692842/error-message-error0308010cdigital-envelope-routinesunsupported/73465262#73465262 for more info --- 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' }, };