From 9d8f1f32219fbd21e61c66794b0ff64e2bf830f9 Mon Sep 17 00:00:00 2001 From: Daniel Kesselberg Date: Thu, 6 Nov 2025 19:13:45 +0100 Subject: [PATCH] perf: switch webpack mode to lazy Create separate module for each ckeditor translation instead one large bundle with all translations. Signed-off-by: Daniel Kesselberg --- src/components/TextEditor.vue | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/components/TextEditor.vue b/src/components/TextEditor.vue index 4aa0c26594..600366c83c 100644 --- a/src/components/TextEditor.vue +++ b/src/components/TextEditor.vue @@ -375,9 +375,7 @@ export default { /* eslint-disable @stylistic/comma-dangle, @stylistic/function-paren-newline */ const { default: coreTranslations } = await import( - /* webpackMode: "lazy-once" */ - /* webpackPrefetch: true */ - /* webpackPreload: true */ + /* webpackMode: "lazy" */ `ckeditor5/translations/${language}.js` ) /* eslint-enable @stylistic/comma-dangle, @stylistic/function-paren-newline */