image
image copied to clipboard
The @nuxt/image dependencies are quite heavy
I was working on a project for my company and noticed that the build bundle size was extremely large—around 30 MB! The project itself isn’t that big. To confirm whether this was related to a specific library, I created a new Nuxt project and added the Nuxt Image library. The bundle size increased from 1.72 MB to 22 MB. I believe the library should optimize the package size. I tested this using version 1.11.0.
Without nuxt Image
With Nuxt image:
This is because it's including native binaries for sharp, this is just the server bundle size and does not get sent to clients