Skip to content

Commit 9d8f1f3

Browse files
committed
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 <mail@danielkesselberg.de>
1 parent 585d834 commit 9d8f1f3

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/components/TextEditor.vue

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -375,9 +375,7 @@ export default {
375375
376376
/* eslint-disable @stylistic/comma-dangle, @stylistic/function-paren-newline */
377377
const { default: coreTranslations } = await import(
378-
/* webpackMode: "lazy-once" */
379-
/* webpackPrefetch: true */
380-
/* webpackPreload: true */
378+
/* webpackMode: "lazy" */
381379
`ckeditor5/translations/${language}.js`
382380
)
383381
/* eslint-enable @stylistic/comma-dangle, @stylistic/function-paren-newline */

0 commit comments

Comments
 (0)