first commit
This commit is contained in:
14
next.config.ts
Normal file
14
next.config.ts
Normal file
@@ -0,0 +1,14 @@
|
||||
import type { NextConfig } from "next";
|
||||
|
||||
const useStandaloneOutput = process.env.NEXT_OUTPUT_STANDALONE === "1";
|
||||
|
||||
const nextConfig: NextConfig = {
|
||||
...(useStandaloneOutput ? { output: "standalone" } : {}),
|
||||
experimental: {
|
||||
serverActions: {
|
||||
bodySizeLimit: "2mb"
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
export default nextConfig;
|
||||
Reference in New Issue
Block a user