Files
my-protfolio/next.config.mjs
Amirhossein Khalili f34bea05cd
Some checks failed
Test and deploy / Verify production build (push) Has been cancelled
Test and deploy / Deploy production (push) Has been cancelled
perf: optimize portfolio runtime delivery
Replace the blocking asset loader with progressive rendering, defer expensive media and Three.js work, and reduce hydration and animation costs. Move deployment from a static Nginx export to the standalone Next.js runtime with optimized dynamic images.
2026-09-09 12:43:37 +03:30

17 lines
381 B
JavaScript

/** @type {import('next').NextConfig} */
const nextConfig = {
output: 'standalone',
turbopack: {
root: process.cwd(),
},
images: {
formats: ['image/webp'],
qualities: [60, 75, 85],
deviceSizes: [360, 390, 640, 768, 1024, 1280, 1440],
imageSizes: [32, 48, 64, 72, 96, 128, 192, 256, 320],
minimumCacheTTL: 86_400,
},
};
export default nextConfig;