External libraries with no depedendencies create extra aggregates

Created on 19 August 2024, 5 months ago
Updated 20 August 2024, 5 months ago

Problem/Motivation

When mixing module/theme javascript with external javascript, it results in extra aggregates, even when the externals scripts do not have any sort of dependencies.

The site works fine, but this results in extra network calls.

It seems to be based on the order they are added to #attached.

Steps to reproduce

Add a mix of internal/external javascript and turn on aggregation.

Proposed resolution

If external Javascript has no dependencies, do not break up aggregates.

Remaining tasks

User interface changes

Introduced terminology

API changes

Data model changes

Release notes snippet

πŸ› Bug report
Status

Postponed

Version

11.0 πŸ”₯

Component
Asset libraryΒ  β†’

Last updated about 11 hours ago

No maintainer
Created by

πŸ‡ΊπŸ‡ΈUnited States djdevin Philadelphia

Live updates comments and jobs are added and updated live.
  • Needs issue summary update

    Issue summaries save everyone time if they are kept up-to-date. See Update issue summary task instructions.

Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024