Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
When you download chosen lib with composer, i.e. from https://asset-packagist.org, you get version without chosen.jquery.min.js file. Let's check if min file exists and add full version if it doesn't as we already do for css files.
Comment | File | Size | Author |
---|---|---|---|
#2 | check_if_minimized-2866368-2.patch | 683 bytes | zaporylie |
Comments
Comment #2
zaporylieHere's a patch.
Comment #3
dpagini CreditAttribution: dpagini as a volunteer commentedJust an FYI... running into the same problem with D8 version. Have a thread for that at https://www.drupal.org/node/2851320. I know setting libraries is different between D7 & D8, but maybe these can be solved in a similar manner.
Comment #4
nagy.balint CreditAttribution: nagy.balint at Agence Inovae commentedWe would need a review here, then it could go RTBC.
Comment #5
joelpittetInstead of a file_exists check could this be a config/settings option?