Commit e2a2b9e0 authored by catch's avatar catch
Browse files

Issue #3264512 by nod_, ankithashetty, catch, Wim Leers: Enable aggregation for CKEditor 5 assets

(cherry picked from commit f8fed30d)
parent 8d432dd8
Loading
Loading
Loading
Loading
+24 −19
Original line number Diff line number Diff line
@@ -30,6 +30,11 @@ ckeditor5:
    url: https://github.com/ckeditor/ckeditor5/blob/v31.0.0/LICENSE.md
    gpl-compatible: true
  js:
    # This file is not aggregated to force the creation of a new aggregate file
    # containing all files between this one and the next non-aggregated file
    # (if it exists). The files loaded after this one will include CKEditor 5
    # translations, enabled plugins, and the rest of the JavaScript needed on
    # the page.
    assets/vendor/ckeditor5/ckeditor5-dll/ckeditor5-dll.js: { preprocess: false, minified: true }
  dependencies:
    - core/ckeditor5.translations
@@ -42,7 +47,7 @@ ckeditor5.editorClassic:
    url: https://github.com/ckeditor/ckeditor5/blob/v31.0.0/LICENSE.md
    gpl-compatible: true
  js:
    assets/vendor/ckeditor5/editor-classic/editor-classic.js: { preprocess: false, minified: true }
    assets/vendor/ckeditor5/editor-classic/editor-classic.js: { minified: true }
  dependencies:
    - core/ckeditor5

@@ -54,7 +59,7 @@ ckeditor5.editorDecoupled:
    url: https://github.com/ckeditor/ckeditor5/blob/v31.0.0/LICENSE.md
    gpl-compatible: true
  js:
    assets/vendor/ckeditor5/editor-decoupled/editor-decoupled.js: { preprocess: false, minified: true }
    assets/vendor/ckeditor5/editor-decoupled/editor-decoupled.js: { minified: true }
  dependencies:
    - core/ckeditor5
    - core/ckeditor5.htmlSupport
@@ -67,7 +72,7 @@ ckeditor5.internal:
    url: https://github.com/ckeditor/ckeditor5/blob/v31.0.0/LICENSE.md
    gpl-compatible: true
  js:
    assets/vendor/ckeditor5/essentials/essentials.js: { preprocess: false, minified: true }
    assets/vendor/ckeditor5/essentials/essentials.js: { minified: true }
  dependencies:
    - core/ckeditor5
    - core/ckeditor5.heading
@@ -80,7 +85,7 @@ ckeditor5.heading:
    url: https://github.com/ckeditor/ckeditor5/blob/v31.0.0/LICENSE.md
    gpl-compatible: true
  js:
    assets/vendor/ckeditor5/heading/heading.js: { preprocess: false, minified: true }
    assets/vendor/ckeditor5/heading/heading.js: { minified: true }
  dependencies:
    - core/ckeditor5
    - core/ckeditor5.translations
@@ -93,7 +98,7 @@ ckeditor5.basic:
    url: https://github.com/ckeditor/ckeditor5/blob/v31.0.0/LICENSE.md
    gpl-compatible: true
  js:
    assets/vendor/ckeditor5/basic-styles/basic-styles.js: { preprocess: false, minified: true }
    assets/vendor/ckeditor5/basic-styles/basic-styles.js: { minified: true }
  dependencies:
    - core/ckeditor5
    - core/ckeditor5.translations
@@ -106,7 +111,7 @@ ckeditor5.specialCharacters:
    url: https://github.com/ckeditor/ckeditor5/blob/v31.0.0/LICENSE.md
    gpl-compatible: true
  js:
    assets/vendor/ckeditor5/special-characters/special-characters.js: { preprocess: false, minified: true }
    assets/vendor/ckeditor5/special-characters/special-characters.js: { minified: true }
  dependencies:
    - core/ckeditor5
    - core/ckeditor5.translations
@@ -119,7 +124,7 @@ ckeditor5.blockquote:
    url: https://github.com/ckeditor/ckeditor5/blob/v31.0.0/LICENSE.md
    gpl-compatible: true
  js:
    assets/vendor/ckeditor5/block-quote/block-quote.js: { preprocess: false, minified: true }
    assets/vendor/ckeditor5/block-quote/block-quote.js: { minified: true }
  dependencies:
    - core/ckeditor5
    - core/ckeditor5.translations
@@ -132,7 +137,7 @@ ckeditor5.image:
    url: https://github.com/ckeditor/ckeditor5/blob/v31.0.0/LICENSE.md
    gpl-compatible: true
  js:
    assets/vendor/ckeditor5/image/image.js: { preprocess: false, minified: true }
    assets/vendor/ckeditor5/image/image.js: { minified: true }
  dependencies:
    - core/ckeditor5
    - core/ckeditor5.translations
@@ -145,7 +150,7 @@ ckeditor5.link:
    url: https://github.com/ckeditor/ckeditor5/blob/v31.0.0/LICENSE.md
    gpl-compatible: true
  js:
    assets/vendor/ckeditor5/link/link.js: { preprocess: false, minified: true }
    assets/vendor/ckeditor5/link/link.js: { minified: true }
  dependencies:
    - core/ckeditor5
    - core/ckeditor5.translations
@@ -158,7 +163,7 @@ ckeditor5.list:
    url: https://github.com/ckeditor/ckeditor5/blob/v31.0.0/LICENSE.md
    gpl-compatible: true
  js:
    assets/vendor/ckeditor5/list/list.js: { preprocess: false, minified: true }
    assets/vendor/ckeditor5/list/list.js: { minified: true }
  dependencies:
    - core/ckeditor5
    - core/ckeditor5.translations
@@ -171,7 +176,7 @@ ckeditor5.horizontalLine:
    url: https://github.com/ckeditor/ckeditor5/blob/v31.0.0/LICENSE.md
    gpl-compatible: true
  js:
    assets/vendor/ckeditor5/horizontal-line/horizontal-line.js: { preprocess: false, minified: true }
    assets/vendor/ckeditor5/horizontal-line/horizontal-line.js: { minified: true }
  dependencies:
    - core/ckeditor5
    - core/ckeditor5.translations
@@ -184,7 +189,7 @@ ckeditor5.htmlSupport:
    url: https://github.com/ckeditor/ckeditor5/blob/v31.0.0/LICENSE.md
    gpl-compatible: true
  js:
    assets/vendor/ckeditor5/html-support/html-support.js: { preprocess: false, minified: true }
    assets/vendor/ckeditor5/html-support/html-support.js: { minified: true }
  dependencies:
    - core/ckeditor5
    - core/ckeditor5.translations
@@ -197,7 +202,7 @@ ckeditor5.alignment:
    url: https://github.com/ckeditor/ckeditor5/blob/v31.0.0/LICENSE.md
    gpl-compatible: true
  js:
    assets/vendor/ckeditor5/alignment/alignment.js: { preprocess: false, minified: true }
    assets/vendor/ckeditor5/alignment/alignment.js: { minified: true }
  dependencies:
    - core/ckeditor5
    - core/ckeditor5.translations
@@ -210,7 +215,7 @@ ckeditor5.removeFormat:
    url: https://github.com/ckeditor/ckeditor5/blob/v31.0.0/LICENSE.md
    gpl-compatible: true
  js:
    assets/vendor/ckeditor5/remove-format/remove-format.js: { preprocess: false, minified: true }
    assets/vendor/ckeditor5/remove-format/remove-format.js: { minified: true }
  dependencies:
    - core/ckeditor5
    - core/ckeditor5.translations
@@ -223,7 +228,7 @@ ckeditor5.pasteFromOffice:
    url: https://github.com/ckeditor/ckeditor5/blob/v31.0.0/LICENSE.md
    gpl-compatible: true
  js:
    assets/vendor/ckeditor5/paste-from-office/paste-from-office.js: { preprocess: false, minified: true }
    assets/vendor/ckeditor5/paste-from-office/paste-from-office.js: { minified: true }
  dependencies:
    - core/ckeditor5

@@ -235,7 +240,7 @@ ckeditor5.indent:
    url: https://github.com/ckeditor/ckeditor5/blob/v31.0.0/LICENSE.md
    gpl-compatible: true
  js:
    assets/vendor/ckeditor5/indent/indent.js: { preprocess: false, minified: true }
    assets/vendor/ckeditor5/indent/indent.js: { minified: true }
  dependencies:
    - core/ckeditor5
    - core/ckeditor5.translations
@@ -248,7 +253,7 @@ ckeditor5.sourceEditing:
    url: https://github.com/ckeditor/ckeditor5/blob/v31.0.0/LICENSE.md
    gpl-compatible: true
  js:
    assets/vendor/ckeditor5/source-editing/source-editing.js: { preprocess: false, minified: true }
    assets/vendor/ckeditor5/source-editing/source-editing.js: { minified: true }
  dependencies:
    - core/ckeditor5
    - core/ckeditor5.translations
@@ -261,7 +266,7 @@ ckeditor5.table:
    url: https://github.com/ckeditor/ckeditor5/blob/v31.0.0/LICENSE.md
    gpl-compatible: true
  js:
    assets/vendor/ckeditor5/table/table.js: { preprocess: false, minified: true }
    assets/vendor/ckeditor5/table/table.js: { minified: true }
  dependencies:
    - core/ckeditor5
    - core/ckeditor5.translations
@@ -274,7 +279,7 @@ ckeditor5.language:
    url: https://github.com/ckeditor/ckeditor5/blob/v31.0.0/LICENSE.md
    gpl-compatible: true
  js:
    assets/vendor/ckeditor5/language/language.js: { preprocess: false, minified: true }
    assets/vendor/ckeditor5/language/language.js: { minified: true }
  dependencies:
    - core/ckeditor5
    - core/ckeditor5.translations
+7 −4
Original line number Diff line number Diff line
@@ -9,8 +9,9 @@ ckeditor5.language:

drupal.ckeditor5.internal:
  js:
    js/build/drupalHtmlEngine.js: { preprocess: false, minified: true }
    js/build/drupalHtmlEngine.js: { minified: true }
  dependencies:
    - core/ckeditor5
    - core/ckeditor5.internal

drupal.ckeditor5:
@@ -38,21 +39,23 @@ drupal.ckeditor5.quickedit-temporary-work-around:

drupal.ckeditor5.image:
  js:
    js/build/drupalImage.js: { preprocess: false, minified: true }
    js/build/drupalImage.js: { minified: true }
  dependencies:
    - core/ckeditor5
    - core/ckeditor5.image

drupal.ckeditor5.emphasis:
  version: VERSION
  js:
    js/build/drupalEmphasis.js: { preprocess: false, minified: true }
    js/build/drupalEmphasis.js: { minified: true }
  dependencies:
    - core/ckeditor5
    - core/ckeditor5.basic

drupal.ckeditor5.media:
  js:
    js/media_embed_ckeditor5.theme.js: {}
    js/build/drupalMedia.js: { preprocess: false, minified: true }
    js/build/drupalMedia.js: { minified: true }
  css:
    theme:
      css/drupalmedia.css: { }