benwiley4000 / react-gif-player

📽 A GIF component that moves when YOU want it to!
https://benwiley4000.github.io/react-gif-player/
MIT License
94 stars 32 forks source link

Webpack UMD target issue #30

Open mohitmayank opened 5 years ago

mohitmayank commented 5 years ago

ReferenceError: window is not defined at Object. (/app/node_modules/react-gif-player/dist/gifplayer.js:10:4)

I think this is relevant - https://medium.com/@JakeXiao/window-is-undefined-in-umd-library-output-for-webpack4-858af1b881df