diff --git a/core/modules/big_pipe/big_pipe.libraries.yml b/core/modules/big_pipe/big_pipe.libraries.yml index f5774ef9750c..36d5f8e4dccc 100644 --- a/core/modules/big_pipe/big_pipe.libraries.yml +++ b/core/modules/big_pipe/big_pipe.libraries.yml @@ -5,6 +5,5 @@ big_pipe: drupalSettings: bigPipePlaceholderIds: [] dependencies: - - core/once - core/drupal.ajax - core/drupalSettings diff --git a/core/modules/big_pipe/js/big_pipe.js b/core/modules/big_pipe/js/big_pipe.js index 097a036472d8..ea4f6f8cfb14 100644 --- a/core/modules/big_pipe/js/big_pipe.js +++ b/core/modules/big_pipe/js/big_pipe.js @@ -3,15 +3,39 @@ * Renders BigPipe placeholders using Drupal's Ajax system. */ -(function (Drupal, drupalSettings) { +((Drupal, drupalSettings) => { /** - * Maps textContent of