Files
BarevClub/apps/landing/next.config.ts
T

17 lines
685 B
TypeScript

import path from 'node:path';
import type { NextConfig } from 'next';
const config: NextConfig = {
transpilePackages: ['@barev/ui', '@barev/i18n', '@barev/core'],
poweredByHeader: false,
// продакшен: самодостаточная сборка для Docker (монорепо — трассировка от корня)
output: 'standalone',
outputFileTracingRoot: path.resolve(import.meta.dirname, '../..'),
// шрифты для OG-картинок читаются с диска — кладём их в standalone-сборку
outputFileTracingIncludes: { '/**': ['./assets/**'] },
reactStrictMode: true,
agentRules: false,
};
export default config;