19 lines
573 B
TypeScript
19 lines
573 B
TypeScript
import path from "path";
|
|
import type { NextConfig } from "next";
|
|
|
|
const nextConfig: NextConfig = {
|
|
output: 'standalone',
|
|
outputFileTracingRoot: process.cwd(),
|
|
trailingSlash: true,
|
|
staticPageGenerationTimeout: 300,
|
|
experimental: {
|
|
serverActions: {
|
|
bodySizeLimit: (process.env.SERVER_ACTIONS_BODY_SIZE_LIMIT as any) || '100mb',
|
|
allowedOrigins: ['almeiraproducciones.com', 'news.almeira.com.co', 'www.almeiraproducciones.com', 'localhost:3000'],
|
|
},
|
|
},
|
|
serverExternalPackages: ['isomorphic-dompurify', 'jsdom'],
|
|
};
|
|
|
|
export default nextConfig;
|