Skip to content

Cross-platform support for @nuxt/image #184

@AloisSeckar

Description

@AloisSeckar

Following warning was produced in production build:

sharp binaries have been included in your build for win32-x64. Make sure you deploy to the same architecture.

It is caused by default behavior https://image.nuxt.com/get-started/installation#sharp-cross-platform-installation

Adding all options will bloat the bundle. In fact, it is bloating the bundle even now.

We should find a way of mitigating the situation and let users opt-in into having sharp

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingv0.7 targetShould be included in future v0.7

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions