hongaar / unveil2

:mount_fuji: A very lightweight jQuery plugin to lazy load images
http://nabble.github.io/unveil2
38 stars 11 forks source link

Can't make it work with webpack #13

Closed Growiel closed 8 years ago

Growiel commented 8 years ago

HI!

Trying to get this, and its predecessor, to work with webpack but to no avail.

I get: Uncaught TypeError: $ is not a function.

I also tried with the imports-loader module, but still not working. I also tried to use the unveil2 npm package, same result.

This library is the only one preventing me from moving to Webpack...

Thanks.

hongaar commented 8 years ago

I'm afraid I don't have any experience with webpack, but it seems that it's missing jQuery.