Remove `unoptimized` flag from all thumbnail/cover Image components and add proper responsive `sizes` props. Convert raw `<img>` tags on the libraries page to next/image. Add 24h minimumCacheTTL for optimized images. BookPreview keeps `unoptimized` since the API already returns optimized WebP. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
11 lines
183 B
JavaScript
11 lines
183 B
JavaScript
/** @type {import('next').NextConfig} */
|
|
const nextConfig = {
|
|
output: "standalone",
|
|
typedRoutes: true,
|
|
images: {
|
|
minimumCacheTTL: 86400,
|
|
},
|
|
};
|
|
|
|
export default nextConfig;
|