Core attempts to aggregate and localize external libraries due to core bug in LibraryDiscoveryParser::buildByExtension()

Created on 16 June 2023, over 1 year ago

I've found a core bug ✨ Detect external library assets rather than requiring manual type: external definition Needs work that identifies any library assets starting with http or https as "local files" and runs them through the localization system, which causes a fatal error, even though I've defined the library as external:

external:
  js:
    http://www.example.com: { external: true, minified: true }

We can workaround this by manually altering the libraries to set $data['type'] = 'external' before the parser. This also prevents the external libraries from being included in the CSS and JS aggregation.

πŸ› Bug report
Status

Closed: works as designed

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States dave reid Nebraska USA

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024