Files
unknownandClaude Opus 5 0de49a9f94 chore: projekt-scaffold mit next 15, tailwind und shadcn/ui
Next.js 15 (App Router, TypeScript strict), Tailwind CSS 4 und
shadcn/ui als Basis. Standalone-Output und serverExternalPackages
sind fuer den spaeteren Docker-Build vorbereitet.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-06 22:25:13 +02:00

18 lines
648 B
TypeScript

import type { NextConfig } from 'next';
const nextConfig: NextConfig = {
// Standalone output keeps the Docker runtime image small (no node_modules copy).
output: 'standalone',
// Native modules must not be bundled by the server compiler.
serverExternalPackages: ['better-sqlite3', 'sharp'],
// All images are either local files served by /api/files or URLs the user
// entered themselves. We never let the optimizer fetch arbitrary remote hosts.
images: { unoptimized: true },
eslint: {
// Linting runs as its own step (`pnpm lint`), not as part of the build.
ignoreDuringBuilds: true,
},
};
export default nextConfig;