-
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathnext.config.ts
More file actions
20 lines (19 loc) · 669 Bytes
/
next.config.ts
File metadata and controls
20 lines (19 loc) · 669 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
import type { NextConfig } from "next";
import createNextIntlPlugin from "next-intl/plugin";
export default () => {
const nextConfig: NextConfig = {
cleanDistDir: true,
images: {
domains: [
"img.youtube.com", // YouTube images
"lh3.googleusercontent.com", // Google profile images
"api.microlink.io", // Microlink images
"images.unsplash.com", // Unsplash images
"images.pexels.com", // Pexels images
"social-media-scheduler.456893f3709eea11fc391e81e0361029.r2.cloudflarestorage.com", // R2 bucket
],
},
};
const withNextIntl = createNextIntlPlugin();
return withNextIntl(nextConfig);
};