Skip to content

Commit 61a4987

Browse files
Merge pull request #12005 from nextcloud/one-bundle-per-ckeditor-translation
perf: switch webpack mode to lazy
2 parents 10a5069 + 9d8f1f3 commit 61a4987

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)