gokcan / react-shimmer

🌠 Async loading, performant Image component for React.js
https://nh9x1.csb.app
MIT License
1.16k stars 36 forks source link

syntaxError: Cannot use import statement outside a module @ eval (webpack internal #85

Closed labaran1 closed 3 years ago

labaran1 commented 3 years ago

In my nextjs application , i install this package

i also used it like this

import Image,  { Shimmer } from "react-shimmer";
 <Image
   src={currentImage}
    fallback={<Shimmer width={500} height={540} />}
     />
gokcan commented 3 years ago

Hey @labaran1 , could you install the latest version of react-shimmer?

I have greatly improved the module build process: #90