Spaces:
Running
Running
Download next.config.js from Trudy/gemini-3d-drawing: direct link, hf CLI and curl.
- Browser
- Download file 876 Bytes
-
https://huggingface.co/spaces/Trudy/gemini-3d-drawing/resolve/main/next.config.js
- Command line
-
hf download hf://spaces/Trudy/gemini-3d-drawing/next.config.js
-
curl -L -o next.config.js https://huggingface.co/spaces/Trudy/gemini-3d-drawing/resolve/main/next.config.js
876 Bytes
| /** @type {import('next').NextConfig} */ | |
| const nextConfig = { | |
| reactStrictMode: true, | |
| output: 'standalone', | |
| images: { | |
| domains: ['localhost'], | |
| }, | |
| // Ensure that Webpack handles the canvas properly | |
| webpack: (config) => { | |
| // Add any necessary webpack configurations here | |
| return config; | |
| }, | |
| // Development configuration | |
| experimental: { | |
| // Disable experimental features that might cause issues | |
| turbo: false, | |
| // Enable more stable features | |
| esmExternals: true, | |
| // Improve module resolution | |
| modularizeImports: { | |
| '@material-ui/core/': { | |
| transform: '@material-ui/core/{{member}}' | |
| }, | |
| '@material-ui/icons/': { | |
| transform: '@material-ui/icons/{{member}}' | |
| } | |
| } | |
| }, | |
| api: { | |
| bodyParser: { | |
| sizeLimit: '10mb' // Increase the size limit to 10MB | |
| } | |
| } | |
| }; | |
| module.exports = nextConfig; |