Spaces:
Running
Running
Download next.config.js from Xenova/next-server-example-app: direct link, hf CLI and curl.
- Browser
- Download file 495 Bytes
-
https://huggingface.co/spaces/Xenova/next-server-example-app/resolve/main/next.config.js
- Command line
-
hf download hf://spaces/Xenova/next-server-example-app/next.config.js
-
curl -L -o next.config.js https://huggingface.co/spaces/Xenova/next-server-example-app/resolve/main/next.config.js
495 Bytes
| /** @type {import('next').NextConfig} */ | |
| const nextConfig = { | |
| // (Optional) Export as a standalone site | |
| // See https://nextjs.org/docs/pages/api-reference/next-config-js/output#automatically-copying-traced-files | |
| output: 'standalone', // Feel free to modify/remove this option | |
| // Indicate that these packages should not be bundled by webpack | |
| experimental: { | |
| serverComponentsExternalPackages: ['sharp', 'onnxruntime-node'], | |
| }, | |
| }; | |
| module.exports = nextConfig; | |