TestPrisma/next.config.ts

14 lines
400 B
TypeScript
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import type { NextConfig } from "next";
const nextConfig: NextConfig = {
experimental: {
appDir: true, // tu las 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'],
};
export default nextConfig;