Download next.config.ts from DynamicIntelligence/dynamic_intelligence_sample_data: direct link, hf CLI and curl.
- Browser
- Download file 528 Bytes
-
https://huggingface.co/spaces/DynamicIntelligence/dynamic_intelligence_sample_data/resolve/main/next.config.ts
- Command line
-
hf download hf://spaces/DynamicIntelligence/dynamic_intelligence_sample_data/next.config.ts
-
curl -L -o next.config.ts https://huggingface.co/spaces/DynamicIntelligence/dynamic_intelligence_sample_data/resolve/main/next.config.ts
528 Bytes
| 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; | |