Files
plant-disease-id/apps/web/next.config.ts
Michael Freno 820a872f07 Initial commit: Plant Disease Identification app
- Next.js 16 App Router project with Tailwind CSS
- Plant disease knowledge base (93 diseases, 25 plants)
- Image upload with client+server preprocessing
- ML inference pipeline with mock/demo fallback
- Responsive results page with disease cards and treatment
- Full test suite (285 passing tests)
2026-06-05 19:21:16 -04:00

18 lines
360 B
TypeScript

import type { NextConfig } from "next";
const nextConfig: NextConfig = {
// Turbopack config (Next.js 16 default)
turbopack: {},
// Webpack config (fallback)
webpack: (config) => {
config.resolve.alias = {
...config.resolve.alias,
sharp: false,
"detect-libc": false,
};
return config;
},
};
export default nextConfig;