This commit is contained in:
2026-10-29 13:21:30 +06:00
parent 2ae9f84ddf
commit 3acc0de8de
132 changed files with 35007 additions and 1 deletions

View File

@@ -0,0 +1,21 @@
import type { NextConfig } from "next";
const nextConfig: NextConfig = {
transpilePackages: ["@fileshare/shared"],
experimental: {
optimizePackageImports: ["lucide-react"],
},
devIndicators: false,
reactStrictMode: true,
async rewrites() {
const backendUrl = process.env.BACKEND_INTERNAL_URL || "http://127.0.0.1:4000";
return [
{
source: "/api/:path*",
destination: `${backendUrl}/api/:path*`,
},
];
},
};
export default nextConfig;