You are here

sitewide_alert.libraries.yml in Sitewide Alert 8

File

sitewide_alert.libraries.yml
View source
  1. # Global/3rd party libraries
  2. polyfill:
  3. version: 3
  4. js:
  5. https://polyfill.io/v3/polyfill.min.js?features=fetch: { type: external, minified: true }
  6. react:
  7. version: 16.12.0
  8. js:
  9. https://unpkg.com/react@16.12.0/umd/react.production.min.js: { type: external, minified: true }
  10. react-dom:
  11. version: 16.12.0
  12. js:
  13. https://unpkg.com/react-dom@16.12.0/umd/react-dom.production.min.js: { type: external, minified: true }
  14. # Sitewide Alert Component
  15. init:
  16. version: VERSION
  17. js:
  18. js/init.js: {}
  19. css:
  20. theme:
  21. css/sitewide_alert.css: {}
  22. dependencies:
  23. - sitewide_alert/polyfill
  24. - sitewide_alert/react
  25. - sitewide_alert/react-dom
  26. - core/drupal
  27. - core/drupalSettings