By lauriii on
Change record status:
Published (View all published change records)
Project:
Introduced in branch:
8.0.x
Issue links:
Description:
stylesheets-remove now uses the full path to the CSS file instead of just the file name. This change was necessary to accommodate cases where more than one file with the same name exists. For example, if a module and a parent theme both add files called "style.css".
Before
stylesheets-remove:
- dialog.css
After
stylesheets-remove:
- core/assets/vendor/jquery.ui/themes/base/dialog.css
In cases where a Drupal core asset is being removed (for example, a CSS file in jQuery UI) the full file path is needed. In cases where the file is part of a library that belongs to a module or theme, a token can be used. Note that when using the token it needs to be quoted because @ is a reserved indicator in YAML.
stylesheets-remove:
- '@bartik/css/style.css'
Impacts:
Themers