Skip to content
Snippets Groups Projects
Commit 48724f84 authored by catch's avatar catch
Browse files

Merge branch '3397713-order-libraries' into '11.x'

Issue #3397713: [Performance regression] Starting with Drupal 10.1, some sites...

See merge request !9363
parents 09613541 9b02ae7b
No related branches found
No related tags found
No related merge requests found
Pipeline #267653 failed
Pipeline: drupal

#267655

    ......@@ -126,6 +126,7 @@ protected function getLibrariesToLoad(AttachedAssetsInterface $assets) {
    // @todo https://www.drupal.org/project/drupal/issues/1945262
    $libraries = $assets->getLibraries();
    if ($libraries) {
    sort($libraries);
    $libraries = $this->libraryDependencyResolver->getMinimalRepresentativeSubset($libraries);
    }
    return array_diff(
    ......
    0% Loading or .
    You are about to add 0 people to the discussion. Proceed with caution.
    Please register or to comment