Files

28 lines
545 B
TypeScript
Raw Permalink Normal View History

2026-06-15 08:54:27 +02:00
import type { NextConfig } from "next";
2026-06-29 00:09:32 +02:00
import path from "path";
2026-06-15 08:54:27 +02:00
const nextConfig: NextConfig = {
basePath: "/mobile",
typescript: {
ignoreBuildErrors: true,
},
experimental: {
optimizePackageImports: ["lucide-react"],
},
2026-06-29 00:09:32 +02:00
turbopack: {
root: path.resolve(import.meta.dirname || __dirname),
},
async redirects() {
return [
{
source: "/auth/callback",
destination: "/mobile/auth/callback",
permanent: false,
basePath: false,
},
];
},
2026-06-15 08:54:27 +02:00
};
export default nextConfig;