Open etshy opened 6 years ago
When you import through webpack, blazy is used as a module and not bound to the global window object. So in your code you need to also import it using something like:
import Blazy from '../node_modules/blazy/blazy';
This will then give you access to use Blazy
as a constructor
I got this error after webpackEncore compilation