trading-app/next.config.ts
David 27a358038a
Some checks failed
Tick / tick (push) Failing after 1s
Cagnotte V1: IA news-driven trading sim, sandbox, PEA tracking, PWA
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13 19:06:17 +01:00

21 lines
605 B
TypeScript

import type { NextConfig } from "next";
const nextConfig: NextConfig = {
// PGlite (base locale) charge ses fichiers WebAssembly à l'exécution : on ne l'empaquette pas.
serverExternalPackages: ["@electric-sql/pglite"],
// Les fichiers de migration SQL sont lus à l'exécution : on les embarque dans les fonctions Vercel.
outputFileTracingIncludes: { "/**": ["./drizzle/**"] },
cacheComponents: true,
partialPrefetching: true,
turbopack: {
rules: {
"*.css": {
loaders: ["@tailwindcss/turbopack"],
as: "*.css",
},
},
},
};
export default nextConfig;