Download next.config.ts from TechAvenger/kernel-convolution-visualizer: direct link, hf CLI and curl.
- Browser
- Download file 563 Bytes
-
https://huggingface.co/spaces/TechAvenger/kernel-convolution-visualizer/resolve/main/next.config.ts
- Command line
-
hf download hf://spaces/TechAvenger/kernel-convolution-visualizer/next.config.ts
-
curl -L -o next.config.ts https://huggingface.co/spaces/TechAvenger/kernel-convolution-visualizer/resolve/main/next.config.ts
563 Bytes
| import type { NextConfig } from "next"; | |
| const nextConfig: NextConfig = { | |
| // Configure Turbopack root to avoid parent directory conflicts | |
| turbopack: { | |
| root: __dirname, | |
| }, | |
| // Enable experimental features for better performance | |
| experimental: { | |
| optimizePackageImports: ['lucide-react'], | |
| }, | |
| // Allow cross-origin images for development | |
| images: { | |
| remotePatterns: [ | |
| { | |
| protocol: 'https', | |
| hostname: '**', | |
| }, | |
| ], | |
| }, | |
| // Enable standalone output for Docker | |
| output: 'standalone', | |
| }; | |
| export default nextConfig; |