Full enterprise web operating system including: - Next.js 14 frontend with App Router, i18n (DE/EN), shadcn/ui - NestJS 10 backend with Prisma, JWT auth, Swagger docs - Keycloak 24 SSO with role-based access control - HR module (employees, time tracking, absences, org chart) - LEAN module (3S planning, morning meeting SQCDM, skill matrix) - Integrations module (PlentyONE, Zulip, Todoist, FreeScout, Nextcloud, ecoDMS, GembaDocs) - Dashboard with customizable drag & drop widget grid - Docker Compose infrastructure (PostgreSQL 16, Redis 7, Keycloak 24) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
31 lines
726 B
JavaScript
31 lines
726 B
JavaScript
import createNextIntlPlugin from 'next-intl/plugin';
|
|
|
|
const withNextIntl = createNextIntlPlugin('./src/i18n.ts');
|
|
|
|
/** @type {import('next').NextConfig} */
|
|
const nextConfig = {
|
|
// Enable React strict mode for better development experience
|
|
reactStrictMode: true,
|
|
|
|
// Configure image optimization
|
|
images: {
|
|
remotePatterns: [
|
|
{
|
|
protocol: 'https',
|
|
hostname: '*.gravatar.com',
|
|
},
|
|
],
|
|
},
|
|
|
|
// Transpile packages for monorepo
|
|
transpilePackages: ['@tos/shared'],
|
|
|
|
// Experimental features
|
|
experimental: {
|
|
// Optimize package imports for better tree-shaking
|
|
optimizePackageImports: ['lucide-react', '@radix-ui/react-icons'],
|
|
},
|
|
};
|
|
|
|
export default withNextIntl(nextConfig);
|