This was spun off from @wesruv's comment
As a themer I looooooove that I can do all of these things with libraries. The last 3 are kind of "power-usery", but have solid use-cases, IMO. ... In D8 land you're able to do the following to libraries:
- Add new
- Remove entire library
- Add an asset to an existing library
- Remove a single asset from an existing library
- Override a single asset from an existing library
I think getting the 2nd one done would be a huge step forward, but thought the others might be worth mentioning in case we wanted to think about other potential needs.
It'd be nice to add a library removal function, or library alter. But for now I'll recommend this in the tutorial thing I'm working on.
Related: * https://www.drupal.org/docs/8/theming-drupal-8/adding-stylesheets-css-an... * https://www.drupal.org/node/2201089
Recent comments
Hi Francis I think most browsers have become more aggressive about caching images (and other files - I recently had a real pain getting Chrome to re-read the .htaccess file) locally. If...
Images on Pages and Blocks not refreshing
Well here I am 7 years later with the same problem which I have been living with all that time. I am using the Brave and Firefox Browsers to test this being a Linux User. I have gone over...
Images on Pages and Blocks not refreshing
OMG thank u... you are amazing.
Hiding Blocks for Small Screens