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.
This commit is contained in:
@@ -1,8 +1,15 @@
|
||||
/** @type {import('next').NextConfig} */
|
||||
const nextConfig = {
|
||||
output: 'export',
|
||||
output: 'standalone',
|
||||
turbopack: {
|
||||
root: process.cwd(),
|
||||
},
|
||||
images: {
|
||||
unoptimized: true,
|
||||
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,
|
||||
},
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user