almeira-web/next.config.ts

18 lines
562 B
TypeScript

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