Files
asf/frontend/asf-web/next.config.js
T
2026-09-08 07:21:34 -04:00

19 lines
430 B
JavaScript

/** @type {import('next').NextConfig} */
const nextConfig = {
reactStrictMode: true,
transpilePackages: ["lucide-react"],
experimental: {
optimizePackageImports: ["lucide-react"],
},
async rewrites() {
return [
{
source: "/api/v1/:path*",
destination: `${process.env.NEXT_PUBLIC_ASF_CORE_URL || "http://localhost:8000"}/api/v1/:path*`,
},
];
},
};
module.exports = nextConfig;