From 23d691e63809273607549d6f65b3464740d79092 Mon Sep 17 00:00:00 2001 From: jorg-vr Date: Tue, 24 Oct 2023 17:25:15 +0200 Subject: [PATCH] Add hashes to chunks --- config/webpack/webpack.config.js | 1 + 1 file changed, 1 insertion(+) diff --git a/config/webpack/webpack.config.js b/config/webpack/webpack.config.js index 25300e3b0f..87babe92e3 100644 --- a/config/webpack/webpack.config.js +++ b/config/webpack/webpack.config.js @@ -42,6 +42,7 @@ const config = { filename: "[name].js", sourceMapFilename: "[name].js.map", path: path.resolve(__dirname, "..", "..", "app/assets/builds"), + chunkFilename: "[name].[chunkhash].js", }, resolve: { modules: ["node_modules", "app/assets/javascripts"],