Files
flint/apps/web/next.config.mjs
T
2026-04-23 23:39:18 +02:00

27 lines
659 B
JavaScript

import createNextIntlPlugin from "next-intl/plugin";
const withNextIntl = createNextIntlPlugin("./i18n/request.ts");
/** @type {import('next').NextConfig} */
const nextConfig = {
reactStrictMode: true,
// indispensable pour Docker + monorepo
output: "standalone",
// IMPORTANT pour éviter les problèmes de paths en monorepo
outputFileTracingRoot: process.cwd(),
// optimise build (optionnel mais recommandé)
poweredByHeader: false,
compress: true,
// évite erreurs turbopack / build tracing inutile
experimental: {
// utile en monorepo pour stabilité
externalDir: true,
},
};
export default withNextIntl(nextConfig);