Option to include own version of libraries not implemented (or needs documenting)

Created on 12 April 2016, almost 9 years ago
Updated 19 September 2023, over 1 year ago

I've had to update the lazysizes library, as the v1.1.3-RC1 wasn't working properly for me.

I was surprised to see the js libraries being shipped as part of the module. I think most Drupal developers now are used to the flow of adding external JS dependencies into their libraries folder.

So I was a bit confused as to how I actually update the lazysizes library, I came across this #2352599: Decouple external libraries from Picture module by using Libraries module? which suggests there is now an option to include your own version. However, I am unable to work out how this is supposed to work.

Currently I have:

1) Gone to admin/config/media/picture/settings and set Picture polyfill to use" to Use custom polyfill
2) Added in my own libraries into my sites default libraries location
3) Cleared caches, refreshed page etc, now no libraries are being included.

Upon investigating in picture_library(), nothing here is implemented in when the picture_polyfill_version variable is set to own.

Feature request
Status

Closed: duplicate

Version

2.0

Component

Code

Created by

🇬🇧United Kingdom Leon Kessler

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024