From a2551040ab24130fe6884b9f1ec3ad7761814526 Mon Sep 17 00:00:00 2001
From: Paul Derscheid <paul.derscheid@lmscloud.de>
Date: Fri, 13 Sep 2024 13:36:20 +0000
Subject: [PATCH] Bug 37911: (follow-up) Prevent resolution failure of dynamic
 imports when building in mode --production

---
 rspack.config.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/rspack.config.js b/rspack.config.js
index 0aeae41a11..e1c99654e3 100644
--- a/rspack.config.js
+++ b/rspack.config.js
@@ -21,7 +21,7 @@ module.exports = {
             __dirname,
             "koha-tmpl/intranet-tmpl/prog/js/vue/dist/"
         ),
-        chunkFilename: "[name].js",
+        chunkFilename: "[name].[contenthash].js",
     },
     module: {
         rules: [
-- 
2.46.0