Skip to content

Commit

Permalink
Closes #3758: Ensure all external and minified library assets are pro…
Browse files Browse the repository at this point in the history
…perly configured. (#3759)
  • Loading branch information
joeparsons authored Oct 8, 2024
1 parent 7370cc6 commit 26cfead
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ easepick_bundle:
easepick_styles:
css:
theme:
/libraries/easepick--bundle/dist/index.css: {}
/libraries/easepick--bundle/dist/index.css: { minified: true }
2 changes: 2 additions & 0 deletions modules/custom/az_finder/az_finder.libraries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,5 @@ taxonomy-index-tid-widget:
js/taxonomy-index-tid-widget.js:
- type: module
- minified: false
dependencies:
- core/drupal
9 changes: 5 additions & 4 deletions modules/custom/az_publication/az_publication.libraries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,14 @@ az_publication_picker:
js/az_publication_date_picker.js: {}
dependencies:
- az_publication/bootstrap-datepicker
- core/drupal
- core/jquery
- core/once
bootstrap-datepicker:
css:
theme:
/libraries/bootstrap-datepicker/dist/css/bootstrap-datepicker.standalone.css: {}
/libraries/bootstrap-datepicker/dist/css/bootstrap-datepicker.standalone.min.css: { minified: true }
js:
/libraries/bootstrap-datepicker/dist/js/bootstrap-datepicker.js: { minified: true }
/libraries/bootstrap-datepicker/dist/js/bootstrap-datepicker.min.js: { minified: true }
dependencies:
- core/drupal
- core/jquery
- core/once
11 changes: 7 additions & 4 deletions themes/custom/az_barrio/az_barrio.libraries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ global-styling:
az-ajax:
js:
js/az-ajax.js: {}
dependencies:
- core/drupal
az-media-display:
css:
component:
Expand All @@ -21,15 +23,15 @@ az-barrio-off-canvas-nav:
az-proxima-nova:
css:
theme:
https://use.typekit.net/emv3zbo.css: {}
https://use.typekit.net/emv3zbo.css: { external: true, preprocess: false }
az-icons:
css:
theme:
/libraries/az-icons/az-icons-styles.min.css: {}
/libraries/az-icons/az-icons-styles.min.css: { minified: true }
arizona-bootstrap:
css:
theme:
/libraries/arizona-bootstrap/css/arizona-bootstrap.min.css: {}
/libraries/arizona-bootstrap/css/arizona-bootstrap.min.css: { minified: true }
js:
/libraries/arizona-bootstrap/js/arizona-bootstrap.bundle.min.js: { minified: true }
dependencies:
Expand All @@ -38,11 +40,12 @@ button-no-conflict:
js:
js/button-no-conflict.js: {}
dependencies:
- core/drupal
- core/jquery
material-design-icons-sharp:
css:
theme:
# Appends `#.css` as workaround for known issue with loadjs library.
# see https://github.com/kubetail-org/loadjs/issues/39
# see https://github.com/az-digital/az_quickstart/issues/2772
https://fonts.googleapis.com/css?family=Material+Icons+Sharp#.css: {}
https://fonts.googleapis.com/css?family=Material+Icons+Sharp#.css: { external: true, preprocess: false }

0 comments on commit 26cfead

Please sign in to comment.