/** @type {import('next').NextConfig} */ const nextConfig = { typescript: { tsconfigPath: './tsconfig.next.json', }, experimental: { optimizePackageImports: [ '@mantine/core', '@mantine/hooks', '@mantine/dates', '@mantine/form', '@mantine/modals', '@mantine/notifications', '@mantine/nprogress', '@mantine/dropzone', '@mantine/charts', ], }, output: 'standalone', async redirects() { return [ { source: '/', destination: '/login', permanent: true, }, ]; }, }; export default nextConfig;