Closed MikhailRoot closed 5 years ago
Thanks for the PR! Please note that I'm currently travelling, so I probably won't be able to check this out as quickly as I'd like, but I will.
Hi @marcandre I've wrapped featherllight.gallery in UMD as well for convenience. NB: minified js files in /release are not recompiled. i've changed just sources.
Hope the PR can be merged soon! Would be great use it as UMD module.
Any status update on this? Edit: I can confirm that this pull request works. The minified files needs to be rebuild of course
Thanks for the ping! Merged and released. Thanks for the great PR.
Hi all, Wondering how the gallery works?
import featherlight from 'featherlight';
seems to work for me - but I can't figure out how to import the gallery.
Hi all, Wondering how the gallery works?
import featherlight from 'featherlight';
seems to work for me - but I can't figure out how to import the gallery.
anyone, any idea?
Now we can use it in ES6 code like import 'featherlight'; and it will not say there's no jQuery if you use webpack. No code inside Featherlight itself was changed, just wrapped into UMD loader.