Spaces:
Sleeping
Sleeping
Download next.config.js from Hamkytech/anycoder-3270974f: direct link, hf CLI and curl.
- Browser
- Download file 366 Bytes
-
https://huggingface.co/spaces/Hamkytech/anycoder-3270974f/resolve/main/next.config.js
- Command line
-
hf download hf://spaces/Hamkytech/anycoder-3270974f/next.config.js
-
curl -L -o next.config.js https://huggingface.co/spaces/Hamkytech/anycoder-3270974f/resolve/main/next.config.js
366 Bytes
| /** @type {import('next').NextConfig} */ | |
| const nextConfig = { | |
| reactStrictMode: true, | |
| swcMinify: true, | |
| images: { | |
| unoptimized: true, | |
| }, | |
| webpack: (config, { isServer }) => { | |
| if (!isServer) { | |
| config.resolve.fallback = { | |
| ...config.resolve.fallback, | |
| fs: false, | |
| }; | |
| } | |
| return config; | |
| }, | |
| }; | |
| module.exports = nextConfig; |