Skip to content

Commit

Permalink
lazyload.js: import vanilla lazyload ESM build (#446)
Browse files Browse the repository at this point in the history
* lazyload.js: import vanilla lazyload ESM build

* update vanilla-lazyload to v19.0.5
  • Loading branch information
XhmikosR authored Mar 30, 2024
1 parent 2db0e23 commit 8ca9f50
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
"postcss-cli": "^11.0.0",
"stylelint": "^16.3.1",
"stylelint-config-twbs-bootstrap": "^14.0.0",
"vanilla-lazyload": "^19.0.1",
"vanilla-lazyload": "^19.0.5",
"vnu-jar": "23.4.11"
}
}
2 changes: 1 addition & 1 deletion src/assets/js/lazyload.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import LazyLoad from 'vanilla-lazyload'
import LazyLoad from 'vanilla-lazyload/dist/esm/lazyload.js'

const lazyLoadOptions = {
elements_selector: '.lazy',
Expand Down

0 comments on commit 8ca9f50

Please sign in to comment.