mirror of
https://github.com/Since-3/since3-portal.git
synced 2026-10-12 20:51:17 +00:00
17 lines
537 B
TypeScript
17 lines
537 B
TypeScript
import type { NextConfig } from "next";
|
|
|
|
const nextConfig: NextConfig = {
|
|
// Fonts und Logo werden zur Laufzeit per fs gelesen und müssen mit ins Deployment.
|
|
outputFileTracingIncludes: {
|
|
"/api/invoices/*": ["./modules/shared/pdf/assets/**/*"],
|
|
},
|
|
experimental: {
|
|
// Bereits besuchte Seiten 5 Min. im Browser halten. Eigene Änderungen leeren den Cache sofort
|
|
// (revalidatePath in den Actions), ebenso Login/Logout (Cookie-Änderung).
|
|
staleTimes: {
|
|
dynamic: 300,
|
|
},
|
|
},
|
|
};
|
|
|
|
export default nextConfig;
|