Fix sharp native binary on Vercel by marking as external package
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
0bf6b96687
commit
adfb3b8ed4
1 changed files with 1 additions and 0 deletions
|
|
@ -2,6 +2,7 @@ import type { NextConfig } from "next";
|
|||
|
||||
const nextConfig: NextConfig = {
|
||||
reactStrictMode: true,
|
||||
serverExternalPackages: ["sharp"],
|
||||
experimental: {
|
||||
serverActions: {
|
||||
bodySizeLimit: "12mb",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue