image icon indicating copy to clipboard operation
image copied to clipboard

Disable in dev

Open cosbgn opened this issue 2 years ago • 0 comments

I use vercel and when I deploy my site it works perfectly. However while in localhost, images often don't load and the console shows an error 500:

[500] [IPX_ERROR] \nSomething went wrong installing the "sharp" module\n\nModule did not self-register: 

Would it be possible to completely disable it in dev? I mean simply serve images from "/public" without any optimization and have it in production vercel takeover?

cosbgn avatar Jan 08 '24 09:01 cosbgn