syntaxError: Cannot use import statement outside a module @ eval (webpack internal
labaran1 opened this issue · 1 comments
labaran1 commented
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} />}
/>