libraries-override does not update drupalSettings libraries array

Created on 29 December 2015, about 9 years ago
Updated 1 March 2023, almost 2 years ago

Follow-up to #2451411: Add libraries-override to themes' *.info.yml

Problem/Motivation

I have added this libraries-override to my theme:

libraries-override:
  core/html5shiv: yaml/html5shiv.printshiv
  core/normalize: false

and now I searched the source code for normalize and ,core\/html5shiv,core\/normalize, is found. Since I have replaced the one lib is should be updated to yaml/html5shiv.printshiv and the core/normalize need to be removed.

Proposed resolution

Ensure removed libraries are removed from drupalSettings.

Remaining tasks

Add test coverage

User interface changes

None.

API changes

None.

Data model changes

None.

🐛 Bug report
Status

Needs work

Version

9.5

Component
Asset library 

Last updated about 15 hours ago

No maintainer
Created by

Live updates comments and jobs are added and updated live.
  • CSS

    It involves the content or handling of Cascading Style Sheets.

  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024