Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 UTC on 18 March 2024, to get $100 off your ticket.
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?