aFarkas/lazysizes

Unexpected token '<' on the last version

webmasterpf opened this issue · 1 comments

Hello,

Are you aware of this ?
Uncaught SyntaxError: Unexpected token '<' (at lazysizes.min.js:7:1)

Because I have a Drupal 9 website which doesn't work with lazyload module and another one that work..and I don't find why.

Thanks for tips

ok I found the error. Come from the download link. So I re download from CDN instead of github and get the right JS file.
wget https://cdnjs.cloudflare.com/ajax/libs/lazysizes/5.2.2/lazysizes.min.js