| import type { NextConfig } from "next"; | |
| import packageJson from './package.json'; | |
| const nextConfig: NextConfig = { | |
| env: { | |
| REPO_ID: process.env.REPO_ID, | |
| EPISODES: process.env.EPISODES, | |
| // Note: HF_TOKEN should be available at runtime via process.env in API routes | |
| // We don't expose it to client-side via NEXT_PUBLIC_ for security | |
| }, | |
| typescript: { | |
| ignoreBuildErrors: true, | |
| }, | |
| eslint: { | |
| ignoreDuringBuilds: true, | |
| }, | |
| generateBuildId: () => packageJson.version, | |
| }; | |
| export default nextConfig; | |