This commit is contained in:
+8
-8
@@ -1,19 +1,19 @@
|
|||||||
import createNextIntlPlugin from 'next-intl/plugin';
|
import createNextIntlPlugin from 'next-intl/plugin';
|
||||||
|
|
||||||
// Le indicamos dónde estará nuestro archivo principal de configuración
|
|
||||||
const withNextIntl = createNextIntlPlugin('./src/i18n/request.ts');
|
const withNextIntl = createNextIntlPlugin('./src/i18n/request.ts');
|
||||||
|
|
||||||
/** @type {import('next').NextConfig} */
|
|
||||||
const nextConfig = {
|
const nextConfig = {
|
||||||
// Esta línea es la magia para Docker: empaqueta solo lo necesario
|
|
||||||
output: "standalone" as const,
|
output: "standalone" as const,
|
||||||
images: {
|
images: {
|
||||||
qualities: [75, 90, 100], // 🔥 Agrega esto
|
qualities: [75, 90, 100],
|
||||||
|
},
|
||||||
|
reactStrictMode: true,
|
||||||
|
serverExternalPackages: ['nodemailer'],
|
||||||
|
experimental: {
|
||||||
|
serverActions: {
|
||||||
|
bodySizeLimit: '500mb',
|
||||||
|
},
|
||||||
},
|
},
|
||||||
// Opcional, pero recomendado para mantener un código ultra limpio
|
|
||||||
reactStrictMode: true,
|
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
// Envolvemos la configuración con el plugin de internacionalización
|
|
||||||
export default withNextIntl(nextConfig);
|
export default withNextIntl(nextConfig);
|
||||||
Reference in New Issue
Block a user