My attempt to remove CSS and JS assets is not working. I have placed the following declarations in my module’s *.info.yml file. But after clearing the cache, I still see the assets in the head of the document. Is there anything wrong with my syntax:
libraries-override: global-styling: css: base: /themes/stack/css/lightbox.min.css: false js: /themes/stack/js/lightbox.min.js: false
Here is the relevant Drupal documentation: https://www.drupal.org/docs/8/theming/adding-stylesheets-css-and-javascript-js-to-a-drupal-8-theme#override-extend
I also tried these for the key:
- stack/global-styling
- stack.global-styling
I also tried it without the full paths:
libraries-override: stack/global-styling: css: base: lightbox.min.css: false js: lightbox.min.js: false
Nothing is working so far.