Download ui/next.config.ts from michaelu0826/ai_toolkit_code: direct link, hf CLI and curl.
- Browser
- Download file 605 Bytes
-
https://huggingface.co/datasets/michaelu0826/ai_toolkit_code/resolve/main/ui/next.config.ts
- Command line
-
hf download hf://datasets/michaelu0826/ai_toolkit_code/ui/next.config.ts
-
curl -L -o next.config.ts https://huggingface.co/datasets/michaelu0826/ai_toolkit_code/resolve/main/ui/next.config.ts
605 Bytes
| import type { NextConfig } from 'next'; | |
| const nextConfig: NextConfig = { | |
| serverExternalPackages: ['macstats', 'osx-temperature-sensor'], | |
| webpack: (config, { isServer }) => { | |
| if (isServer) { | |
| config.externals.push('osx-temperature-sensor', 'macstats'); | |
| } | |
| return config; | |
| }, | |
| devIndicators: { | |
| buildActivity: false, | |
| }, | |
| typescript: { | |
| // Remove this. Build fails because of route types | |
| ignoreBuildErrors: true, | |
| }, | |
| experimental: { | |
| serverActions: { | |
| bodySizeLimit: '100gb', | |
| }, | |
| middlewareClientMaxBodySize: '100gb', | |
| }, | |
| }; | |
| export default nextConfig; | |