2025-04-13 10:15:35 +02:00
|
|
|
|
import type { NextConfig } from "next";
|
|
|
|
|
|
|
|
|
|
const nextConfig: NextConfig = {
|
2025-04-13 17:57:12 +02:00
|
|
|
|
experimental: {
|
|
|
|
|
appDir: true, // tu l’as sûrement déjà
|
|
|
|
|
// 👇 on active le support de pages (cohabitation possible)
|
|
|
|
|
legacyBrowsers: false, // (optionnel mais conseillé)
|
|
|
|
|
},
|
|
|
|
|
// 👇 important si tu as déplacé dans /src
|
|
|
|
|
pageExtensions: ['js', 'jsx', 'ts', 'tsx'],
|
2025-04-13 10:15:35 +02:00
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export default nextConfig;
|