Huge size when using the package?
melvin2016 opened this issue · comments
I have a component called ImageLoaderUtil which I'm using to convert raw images to webp and also place lqip placeholders. But I get huge page sizes when Next.js builds the site.
ImageLoaderUtil.jsx Component
Size of the Page with webp and lqip loaders when Next.js builds the site.
Size of the Page when I removed webp and lqip loaders
Can someone suggest to me a better solution?
try loading images dynamically without ssr it will remove images from build