2024-10-16 16:58:05 -04:00
|
|
|
/** @type {import('next').NextConfig} */
|
2024-11-23 01:06:37 -05:00
|
|
|
|
2024-10-16 16:58:05 -04:00
|
|
|
const nextConfig = {
|
|
|
|
typescript: {
|
|
|
|
tsconfigPath: './tsconfig.next.json',
|
|
|
|
},
|
2024-11-23 01:06:37 -05:00
|
|
|
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,
|
|
|
|
},
|
|
|
|
];
|
|
|
|
},
|
2024-10-16 16:58:05 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
export default nextConfig;
|