-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathnext.config.ts
More file actions
31 lines (29 loc) · 802 Bytes
/
Copy pathnext.config.ts
File metadata and controls
31 lines (29 loc) · 802 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
import type { NextConfig } from "next";
const nextConfig: NextConfig = {
images: {
remotePatterns: [
{
protocol: "https",
hostname: "openweathermap.org",
},
{
protocol: "https",
hostname: "*.vercel-storage.com",
},
{
protocol: "https",
hostname: "plant.id",
},
],
// Optimize images from Vercel Blob
dangerouslyAllowSVG: true,
formats: ['image/avif', 'image/webp'],
deviceSizes: [640, 750, 828, 1080, 1200, 1920],
imageSizes: [16, 32, 48, 64, 96, 128, 256, 384],
},
// Add empty turbopack config to silence warning
turbopack: {},
};
// Note: next-pwa doesn't support Next.js 16 with Turbopack yet
// PWA will be handled via service worker in production
export default nextConfig;