From 5d882277b531505bdaaecaf12e2b8e07da42cb88 Mon Sep 17 00:00:00 2001 From: Davide Pastore Date: Thu, 13 Oct 2022 20:31:30 +0200 Subject: [PATCH] Improve configuration for webpack --- webpack.config.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/webpack.config.js b/webpack.config.js index 2062752..5d841ed 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -74,4 +74,7 @@ Encore .autoProvidejQuery() ; -module.exports = Encore.getWebpackConfig(); +webpackConfig = Encore.getWebpackConfig(); +webpackConfig.output.hashFunction = 'xxhash64'; +webpackConfig.experiments.futureDefaults = true; +module.exports = webpackConfig