waterwolf-auth/apps/frontend/next.config.mjs
Kakious 994a94f9e3
Some checks failed
/ build (push) Failing after 10s
feat: begin new ui
fix: attempt to build using local docker file
2024-11-23 01:06:37 -05:00

32 lines
613 B
JavaScript

/** @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;