Files
ai-toolkit/ui/next.config.ts
Jaret Burkett 171535833a Add Mac OS support for Apple Silicon (#770)
* Made an install script and auto updates env for mac

* GPU sensors and initial training working for MAC. Still WIP.

* Switch dataloader to single threaded until I can work around some mac pickeling issues.

* Get quantization working on mac

* Fix mac exclusive imports so they don't break other builds.

* Add mac instructions to the UI
2026-03-30 09:37:47 -06:00

27 lines
605 B
TypeScript

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;