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