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
Trying to push it to upstream 🤞 https://github.com/drush-ops/drush/pull/6621
Using Drush 8 with php 8
Wow, thank you!
Using Drush 8 with php 8
Hi folks, I went ahead and ported all drush 8.x stuff to PHP 8.3 and completely ripped out the legacy Symfony 2 internals. You can check out the exact details of what was done in the PR...
Using Drush 8 with php 8