js_example.libraries.yml

Same filename and directory in other branches
  1. 3.x modules/js_example/js_example.libraries.yml
modules/js_example/js_example.libraries.yml

File

modules/js_example/js_example.libraries.yml

View source
  1. accordion:
  2. # Starting from Drupal 10.1.2, the version information plays a critical role
  3. # in generating a unique hash for aggregated files. It is important to update
  4. # the version value whenever a referenced file undergoes changes.
  5. version: 4.0.0
  6. js:
  7. js/accordion.js: {}
  8. css:
  9. component:
  10. css/accordion.css: {}
  11. colors:
  12. version: 4.0.2
  13. js:
  14. js/colors.base.js: { attributes: { id : "script-colors-base" } }
  15. js/colors.rgb.js: {}
  16. js/colors.cmy.js: {}
  17. dependencies:
  18. - core/jquery
  19. - core/drupalSettings