Like what we’re doing? Star us on GitHub!

sharp dependency still preventing use of Payload

thisisnotchris
3 weeks ago
3

Hey all, just a reminder that some users on OSX are unable to use Payload because of the sharp dependency. You could install lib-vips via brew and then build from source on the sharp package, but the lib-vips dependency is massive. I feel like image manipulation should be handled by the user and not Payload as I would argue the majority of people care about data & forms over media.



Or make image manipulation / handling a plugin that is optional

  • Jarrod
    Payload Team
    3 weeks ago

    I think we will get to that point. And then we will have a local storage plugin that you would be able to tac on to a config, instead of it being baked in. But that will come at a later date.



    It will also allow us to reduce our bundle size for serverless deployments, which we would love to do - sharp is v large

Open the post
Continue the discussion in Discord
Can't find what you're looking for?
Get help straight from the Payload team with an Enterprise License.Learn More