From f07eac18fa7eb24f5cd7cf69cecef5b310f59112 Mon Sep 17 00:00:00 2001 From: Paul Derscheid Date: Fri, 13 Sep 2024 10:24:38 +0000 Subject: [PATCH] Bug 37911: (follow-up) Use webpack import annotations for more concise chunk names Signed-off-by: Matt Blenkinsop --- koha-tmpl/intranet-tmpl/prog/js/vue/modules/islands.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/js/vue/modules/islands.ts b/koha-tmpl/intranet-tmpl/prog/js/vue/modules/islands.ts index 862a19df4b1..9f0798ecb62 100644 --- a/koha-tmpl/intranet-tmpl/prog/js/vue/modules/islands.ts +++ b/koha-tmpl/intranet-tmpl/prog/js/vue/modules/islands.ts @@ -9,7 +9,10 @@ export const componentRegistry: Map Promise> = new Map( [ "hello-islands", async () => { - const module = await import("../components/HelloIslands.vue"); + const module = await import( + /* webpackChunkName: "hello-islands" */ + "../components/HelloIslands.vue" + ); return module.default; }, ], -- 2.39.3 (Apple Git-146)