feat: add skeleton screen components and optimize image config

This commit is contained in:
张翔
2026-02-27 20:30:36 +08:00
parent aa47a45a95
commit 5924a7d493
3 changed files with 132 additions and 59 deletions
+7 -1
View File
@@ -4,10 +4,16 @@ const nextConfig: NextConfig = {
output: 'export',
distDir: 'dist',
images: {
remotePatterns: [
{
protocol: 'https',
hostname: '**',
},
],
unoptimized: true,
formats: ['image/avif', 'image/webp'],
deviceSizes: [640, 750, 828, 1080, 1200, 1920, 2048, 3840],
imageSizes: [16, 32, 48, 64, 96, 128, 256, 384],
formats: ['image/webp'],
},
compress: true,
poweredByHeader: false,