File size: 528 Bytes
6f0655f
 
 
 
 
 
 
073aa17
 
6f0655f
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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;