-
Notifications
You must be signed in to change notification settings - Fork 0
/
next.config.js
33 lines (30 loc) · 1.05 KB
/
next.config.js
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
32
33
const prismic = require("@prismicio/client");
const sm = require("./sm.json");
/** @type {import('next').NextConfig} */
const nextConfig = async () => {
return {
reactStrictMode: true,
basePath: "",
images: {
formats: ["image/webp", "image/avif"],
domains: [
"images.prismic.io",
"scontent.cdninstagram.com",
"estetica-revolution.cdn.prismic.io",
],
// next/image support `srcSet` using the below deviceSizes
// for more info, visit https://nextjs.org/docs/basic-features/image-optimization#device-sizes
deviceSizes: [
320, 480, 640, 750, 828, 1080, 1200, 1920, 2048, 3840,
],
// https://nextjs.org/docs/basic-features/image-optimization#image-sizes
imageSizes: [16, 32, 48, 64, 96, 128, 256, 384],
},
i18n: {
localeDetection: false,
locales: ["fr"],
defaultLocale: "fr",
},
};
};
module.exports = nextConfig;