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/next-runtime: The Next.js Runtime allows Next.js to run on Netlify with zero configuration

Thanks!

1 Like