Disable next_image when using the nextjs plugin?

I use @netlify/plugin-nextjs and it works perfectly.

However, I dont use Next’s image component (next/image). Is there a way to skip/omit next_image from being bundled to the lambda functions every deploy?

Hi there, @ekafyi!

Great question :slight_smile: This is not currently a possibility. I encourage you to open an issue for it on this repo: GitHub - netlify/netlify-plugin-nextjs: A build plugin to integrate Next.js seamlessly with Netlify

Thanks!

1 Like