/** @type {import('next').NextConfig} */
const nextConfig = {  
    output: 'standalone',
    typescript: {
        ignoreBuildErrors: true,
    },
    env: {
        NEXT_PUBLIC_API_BASE: process.env.NEXT_PUBLIC_API_BASE,
    },
    async redirects() { 
        return [
            { // we redirect '/' to '/dashboard
                source: '/',
                destination: '/dashboard',
                permanent: true,
            },
        ]
    },
}

module.exports = nextConfig
